Monday 2 February 2015

Latest JCL Interview Questions and Answers (Part3)

21.Why do you want to specify the REGION parameter in a JCL step?
    To override the REGION defined at the JOB card level.
    REGION specifies the max region size. REGION=0K or 0M or omitting REGION means no limit will be applied.

22.What does the TIME parameter signify ? What does TIME=1440 mean ?
    TIME parameter can be used to overcome S322 abends for programs that genuinely need more CPU time. TIME=1440 means no CPU time limit is to be applied to this step.

23.What is COND=EVEN ?
    Means execute this step even if any of the previous steps, terminated abnormally.

24.What is COND=ONLY ?
Means execute this step only if any of the previous steps, terminated abnormally.

25.How do you check the syntax of a JCL without running it?
TYPERUN=SCAN on the JOB card or use JSCAN.

26.What does IEBGENER do?
Used to copy one QSAM file to another. Source dataset should be described using SYSUT1 ddname. Destination dataset should be decribed using SYSUT2. IEBGENR can also do some reformatting of data by supplying control cards via SYSIN.

27.How do you send the output of a COBOL program to a member of a PDS?
Code the DSN as pds(member) with a DISP of SHR. The disp applies to the pds and not to a specific member.

28.I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?
Multiple jobs are submitted (as many jobs as the number of JOB cards).

29.I have a COBOL program that ACCEPTs some input data. How do you code the JCL statment for this? ( How do you code instream data in a JCL? )
    //SYSIN DD*
        input data
        input data
        /*

30.Can you code instream data in a PROC ?
    No.
More Questions & Answers :-
Part1  Part2  Part3  Part4  Part5

No comments:

Post a Comment