in jcl you are having JCLLIB and STEPLIB what happens

Answer Posted / sj@iy

JCLLIB - Gives the library for cataloged procedures
STEPLIB - Coded in the individual steps. It gives the
library where the program specified in the EXEC statement
for that particular step should be searched for.
JOBLIB - Coded after the JOB statement. It specifies the
library where all programs specified in the EXEC statements
of the entire JCL should be searched for.
Having both JOBLIB and STEPLIB, the STEPLIB will override
JOBLIB for that particular step where STEPLIB is given.
Having both JCLLIB and STEPLIB shouldnt have any co-
relation as one is concerned with cataloged procedures and
the other with the programs.
Please verify answer

Is This Answer Correct ?    27 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name what parameter directs the output of the job log dataset?

567


What is the difference between the positional and keyword parameters? Give examples.

716


WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

857


What is the difference between run mode and addressing mode?

640


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

1990






How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5066


What are the parameter we cannot use in procedure?

644


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

1972


Can I send output of job to my remote device careerride123?

671


Does jcl support automatic restart?

768


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

675


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

884


What is NOTCAT ?

745


What is catelog procedure and how many catelog procedure to use in one job?

7468


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

793