| Other JCL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| List some valid operation codes in JCL | | 2 |
| Suppose I have a file with three fields with data in the
following format
1. empid - S9(4) COMP
2. empname - X(20)
3. empsal - S9(5)V(2) COMP-3
If I view this file, it will not be in a readable format.
How to display the empid and empsal fields in a readable
format without using COBOL program? What kind of SORT card
will have to be coded? | | 2 |
| i want to see the jobs in skeleton queue in diff region.
(eg. 7 regions are running means , i want to see all the
jobs in 7 regions which are in skel queue using 1 command) | | 1 |
| What is maximum length of block size? | Kanbay | 3 |
| What is COND=EVEN ? | IBM | 4 |
| What 3 guidelines do we have to follow when concatenating DD
statements? | | 2 |
| If a jcl has just 1 step and the input file to this does
not exist, then what will happen if we submit this job? | | 3 |
| What is the use of DSNDB07 ? | | 1 |
| What is the DD statement for a output file? | | 3 |
| Is there a limit of 3273 DD statements for a JCL or for
every EXEC step in a JCL? | | 1 |
| if we give two job cards in a single what happens | IBM | 2 |
| What is JCL LIB ? | Xansa | 3 |
| 1.How to check for the errors using TYPRUN=SCAN?What will
be the output if we give TYPRUN=SCAN? | | 9 |
| What is the difference between IEBGENER, IEBCOPY and REPRO
in IDCAMS utility? | TCS | 4 |
| Can I copy the FB (fixed Block) record length file to a VB
(variable Block)record length file and Vise Versa? If Yes
then how ? is that thru one of the JCL utility ? | | 3 |
| How do you pass parameters to the program as the job is
being executed ? | | 1 |
| How I sort the records in a file and copy the first 10
records to another file | | 2 |
| How can we execute only one step in a job | Mind-Tree | 17 |
| i am trying to copy a PS file into VSAM file in step2 by
using PGM=IDCAMS,COND=(0,LT) and the pS file is getting
sorted in the step1. I got the return code 00 for step1 but
step2 got flushed. can u please help on this. Below is My
JCL.
SEPP050 EXEC
PGM=SORT,REGION=6144K
SYSIN DD DSN=SYSCMN.PROD.CCLIB
(F5910BNN),
DISP=SHR
SYSOUT DD
SYSOUT=*
SYSUDUMP DD
SYSOUT=A
SORTIN DD
DSN=Z1225BT.F5910EPP.HISOUT,
DISP=SHR
SORTOUT DD
DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT5,
DISP=
(NEW,CATLG,DELETE),UNIT=DELQ,
SPACE=(CYL,
(500,500),RLSE),
DCB=
(RECFM=FB,LRECL=1606,BLKSIZE=16060,BUFNO=15)
SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,
(1))
SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,
(1))
SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,
(1))
SORTWK04 DD UNIT=SYSDA,SPACE=(CYL,
(1))
SYSIN1 DD UNIT=VIO,SPACE=
(80,1)
*
SEPP060 EXEC PGM=IDCAMS,COND=
(0,LT)
SYSPRINT DD
SYSOUT=*
SYSOUT DD
SYSOUT=*
SYSLIST DD
SYSOUT=*
***
DD01 DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT,
// DISP=SHR
//***
//DD01O DD DSN=Z1225BT.F5910PHS,
// DISP=SHR,
// AMP=(AMORG,'BUFND=12,BUFNI=5')
//SYSIN DD DSN=SYSCMN.PROD.CCLIB(F5910BBB),
//
DISP=SHR
Output RC for the two steps:
SDCBPJ05 SEPP050 00 236 .00 .00 .0
SDCBPJ05 SEPP060 FLUSH 0 .00 .00 .0 | | 1 |
| in jcl you are having JCLLIB and STEPLIB what happens | EDS | 2 |
| |
| For more JCL Interview Questions Click Here |