JCL

JCL interview questions

As with any technology when you go for an interview you want to get prepared for the standard interview questions and some of those tricky ones that the interviewer may get you into trouble. JCL is an important part of any mainframe interview and so the website is proud to come up with the section

JCL interview questions Read More »

JCL interview questions

JCL Interview Questions ·        What is the difference between primary and secondary allocations for a dataset? Ans:-Secondary allocation is used when more space is required than what has already been allocated by primary. ·        How to access a file that had a disposition of KEEP? Ans:-Since the file is not in catalog you will need

JCL interview questions Read More »

SORT JCL with OMIT

If you wish to exclude certain records which match a specific criteria.(Using OMIT) OMIT COND=((34,2,CH,EQ,C’AB’),AND,(74,1,CH,EQ,C’ ‘))  The above SORT card will exclude records which have ‘AB’ at 34th position and have spaces at 74th position. Example JCL is provided below. ; ; ; ; //SORTIN   DD DISP=SHR,DSN=USERID.ABC.INPFILE, //SORTOUT  DD DSN=USERID.ABC.OUTFILE, //      SPACE=(TRK,(30,10),RLSE),

SORT JCL with OMIT Read More »