Tags

, , , , , ,

1. CONSIDER THE BELOW SCENARIO.

JOB SAMPLEJB EXECUTES THE PROGRAM SAMPLEPG AS PROVIDED BELOW.

//STEP01 EXEC PGM=SAMPLEPG
//INPUT DD DSN=INPUT.FILE,DISP=SHR
//OUTPUT1 DD DSN=OUTPUT.FILE01,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(CYL,(100,100),RLSE),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)
//OUTPUT2 DD DSN=OUTPUT.FILE02,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(CYL,(100,100),RLSE),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)

A NEW REQUIREMENT CAME TO STOP CREATING THE OUTPUT2. PROGRAMMER
HAS MADE CHANGES ONLY TO THE JCL BY REMOVING THE OUTPUT2 DETAILS.
HE HAS FORGOT TO MAKE CHANGES TO THE PROGRAM SAMPLEPG. WHEN THE
JOB RUNS AFTER THE CHANGES, DO YOU SEE ANY ISSUES. PLEASE
JUSTITY YOUR ANSWER.

2. IN CA7, AT THE REQUIREMENTS OF A PARTICULAR JOB, YOU WOULD HAVE
SEEN LEADTM (LEAD TIME). WHAT DOES IT MEAN WHEN THE REQUIREMENT
HAS LEADTM=00 AND LEADTM=99.

EX: PROVIDE YOUR ANSWER CONSIDERING THE BELOW EXAMPLE.
JOB MAINJOB HAS JOBS REQJOB1 AND REQJOB2 AS REQUIREMENTS.

REQJOB1 HAS LEADTM=00 AND REQJOB2 HAS LEADTM=99.

3. WHAT IS THE IBM UTILITY PROGRAM THAT ALWAYS RETURNS A COMPLETION
CODE OF “0”.

Important SQL CODES and ABEND CODES
SORT JOIN – TO JOIN TWO FILES BASED ON A KEY
KNOW YOUR MAINFRAME
REXX – INITIAL SETUP
KNOW YOUR MAINFRAME
KNOW YOUR MAINFRAME – WEEK 1
KNOW YOUR MAINFRAME – WEEK 1 – SOLUTIONS
KNOW YOUR MAINFRAME – WEEK 2
KNOW YOUR MAINFRAME – WEEK 2 – SOLUTIONS
KNOW YOUR MAINFRAME – WEEK 3
KNOW YOUR MAINFRAME – WEEK 3 – SOLUTIONS
KNOW YOUR MAINFRAME – WEEK 4
KNOW YOUR MAINFRAME – WEEK 4 – SOLUTIONS
KNOW YOUR MAINFRAME – WEEK 5
KNOW YOUR MAINFRAME – WEEK 5 – SOLUTIONS
KNOW YOUR MAINFRAME – WEEK 6
KNOW YOUR MAINFRAME – WEEK 6 – SOLUTIONS
Advertisements