Interview Questions   Tutorials   Discussions   Programs   

JCL - What is JOBLIB ?




337
views
asked mar August 6, 2014 01:34 PM  

What is JOBLIB ?


           

1 Answers



 
answered By Mswami   0  

Purpose:

Use the JOBLIB DD statement to:

  • Create a private library.
  • Identify a private library that the system is to search for the program named in each EXEC statement PGM parameter in the job. Only if the system does not find the program in the private library, does it search the system libraries.

A private library is a partitioned data set or partitioned data set extended on a direct access device. Each member is an executable, user-written program.

Example:

//PAYROLL JOB  JONES,CLASS=C

//JOBLIB  DD   DSNAME=PRIVATE.LIB4,DISP=(OLD,PASS)

//STEP1   EXEC PGM=SCAN

//STEP2   EXEC PGM=UPDATE

//DD1     DD   DSNAME=*.JOBLIB,DISP=(OLD,PASS)

The private library requested on the JOBLIB DD statement is cataloged. The system passes catalog information to subsequent job steps. The system searches for the programs SCAN and UPDATE first in PRIVATE.LIB4, then in SYS1.LINKLIB. DD statement DD1 refers to the private library requested in theJOBLIB DD statement.

 

flag   
   add comment

Your answer

Join with account you already have

FF

Preview

 Write A Tutorials
Online-Classroom Classes
www.writeabc.com


  1 person following this question

  Question tags

jcl × 1

Asked 2 years and 3 months ago ago
Number of Views -337
Number of Answers -1
Last updated
3 years and 4 months ago ago

Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert