View previous topic :: View next topic
|
Author |
Message |
VENKATA999 Warnings : 2 New User
Joined: 05 Jan 2006 Posts: 44
|
|
|
|
Hi ,
Can anyone please explain about the stepcat and jobcat and diff betn them .
Thank you,
Venkata99 |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
The STEPCAT & JOBCAT statements are well documented in the fine manual.
O. |
|
Back to top |
|
|
Dariusz Warnings : 1 New User
Joined: 11 Aug 2005 Posts: 27 Location: POLAND
|
|
|
|
Hi.
It is a function like to joblib & steplib for library.
Jobcat defines catalog for all steps in the JOB.
Stepcat defines catalog for one step of JOB.
When we've got one step in our JOB,then jobcat & stepcat defines the same,but in one job we can use(without sense) jobcat & stepcat and
in this situation jobcat more important.
For example:
//AAA JOB
//JOBCAT DD DSN=GEORGE,DISP=SHR
//RUN EXEC PGM=EXAMPLE
//STEPCAT DD DSN=BUSH,DISP=SHR
In thin example we use catalog BUSH.
Regards. |
|
Back to top |
|
|
VENKATA999 Warnings : 2 New User
Joined: 05 Jan 2006 Posts: 44
|
|
|
|
Hi ,
i did not understand it correctly . when we give stepcat or jobcat , is it going to check the entire catalog for the data-set mentioned in the dd statement .
If it is true , as we know there are diff parts in the catalog itself like user catalog , vsam catalog , master catalog . Where exactly it is going to check .
otherwise is it nothing but specifying the catalog name where datasets to be cataloged for jobstep or entire job ?
Thanks in advance ... |
|
Back to top |
|
|
Dariusz Warnings : 1 New User
Joined: 11 Aug 2005 Posts: 27 Location: POLAND
|
|
|
|
Hi.
JOBCAT or STEPCAT give us information what catalog intead of master
will by use.
Usuely we define user catalog and alias for that.
Bycause of this,JOBCAT and STEPCAT we use not very often.
I titled "structure question" bycause without DD for catalog,
we use master catalog or user catalog by alias.
For data sets it's very simple:data set name prefix is equal for alias name.
It's hierarhical structure:
master catalog=====>user catalog====>subcatalog====>data set,
master catalog=====>dataset(alias.**)
No other ways and it's independent on catalog type.
Regards. |
|
Back to top |
|
|
|