JOBLIB & JCLLIB & STEPLIB



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

JOBLIB & JCLLIB & STEPLIB

Postby ballaravi » Sat Jul 31, 2010 6:27 pm

hi,
please help me,my questions are...

1) what is difference between "JOBLIB" & "JCLLIB" & "STEPLIB", I need with example,so i can understand better .

2) what is difference between "SYSPRINT" & "SYSOUT".

Thank you....
ballaravi
 
Posts: 18
Joined: Wed Jul 14, 2010 6:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: JOBLIB & JCLLIB & STEPLIB

 

Re: Doubt on lib commands

Postby Robert Sample » Sat Jul 31, 2010 7:52 pm

1. JOBLIB is defined at the start of the job before any EXEC and contains the load libraries to be searched for the entire job. STEPLIB is defined after an EXEC and applies only to that step. It also contains the load libraries to be searched for the step. JCLLIB is defined at the start of the job before any EXEC and contains the procedure (JCL) libraries to be searched for any procedures (that is, anything not EXEC PGM=) or INCLUDE members.

JCLLIB can be looked at by a human and it is readable; load libraries are not.

2. PRINT versus OUT. Both are used as DD names for output although they can be used for anything you want, really. IBM utilities often use SYSPRINT for their messages; COBOL uses SYSOUT for the default DISPLAY device. Other than utilities, though, they are not reserved names and can be used by an application programmer if desired.
Robert Sample
Global moderator
 
Posts: 3376
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 224 times

Re: Doubt on lib commands

Postby steve-myers » Sun Aug 01, 2010 1:03 am

//JOBLIB and //STEPLIB are similar in that both specify one or more load libraries that contain programs that are not part of the system. As far as I know //JOBLIB has always been in OS/360 type systems. //STEPLIB appeared rather late in OS/360 (release 17, I think it was).

SYSPRINT is a DD name commonly used to specify a data set containing data that is suitable for printing on line oriented printers.

SYSOUT has multiple meanings.
  • It is a keyword on a DD statement used to specify an output class, the name of a supplemental program used when the data set is actually printed, and the name of a form used when printing the data set. For better or worse some of this has been subverted for other purposes. One fairly popular output management product uses the SYSOUT program name to specify a report name within the output management system.
  • It is a DD name used by some programs. Most sort programs use SYSOUT as their primary message data set.
  • It is a noun used as a generic reference to data sets intended to be printed; "my program prints messages to SYSOUT," or "check SYSOUT."
steve-myers
Global moderator
 
Posts: 1887
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 198 times

Re: Doubt on lib commands

Postby ballaravi » Mon Aug 09, 2010 8:08 pm

Thank u very much :)
ballaravi
 
Posts: 18
Joined: Wed Jul 14, 2010 6:19 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post