IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

what is setpcat and jobcat .....


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
VENKATA999
Warnings : 2

New User


Joined: 05 Jan 2006
Posts: 44

PostPosted: Mon Feb 13, 2006 9:48 pm
Reply with quote

Hi ,

Can anyone please explain about the stepcat and jobcat and diff betn them .


Thank you,
Venkata99
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Feb 14, 2006 12:25 am
Reply with quote

The STEPCAT & JOBCAT statements are well documented in the fine manual.

O.
Back to top
View user's profile Send private message
Dariusz
Warnings : 1

New User


Joined: 11 Aug 2005
Posts: 27
Location: POLAND

PostPosted: Tue Feb 14, 2006 6:01 pm
Reply with quote

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
View user's profile Send private message
VENKATA999
Warnings : 2

New User


Joined: 05 Jan 2006
Posts: 44

PostPosted: Tue Feb 14, 2006 7:57 pm
Reply with quote

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 ? icon_question.gif

Thanks in advance ...
Back to top
View user's profile Send private message
Dariusz
Warnings : 1

New User


Joined: 11 Aug 2005
Posts: 27
Location: POLAND

PostPosted: Thu Feb 16, 2006 1:19 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Difference between JOBCAT and JOBLIB JCL & VSAM 8
No new posts Can any one let me know about JOBCAT ... JCL & VSAM 1
No new posts Question on JOBCAT & STEPCAT ? JCL & VSAM 2
No new posts Difference bw JCLLIB & PROCLIB an... JCL & VSAM 3
Search our Forums:

Back to Top