Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

CLASS parameter oveeride

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Anu R

New User


Joined: 09 Apr 2008
Posts: 18
Location: India

PostPosted: Wed Jun 18, 2008 9:57 am    Post subject: CLASS parameter oveeride
Reply with quote

Hi,

My JCL consists of 6 steps.But I have to execute 3 steps by providing a different class parameter.Hence i have to spilt my JCL into 2 JCL's.Is there any way to do this in a single JCL?Is it possible to provide overrides in the step for the CLASS paramete?

Please advise

Regards,
Anu
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Jun 18, 2008 10:00 am    Post subject:
Reply with quote

Hello,

Once a job begins execution, it runs in that class.

What can be gained by separating a job into a second class?

If we understood the requirement (not switching classes, but why), we may be able to offer suggestions.
Back to top
View user's profile Send private message
Anu R

New User


Joined: 09 Apr 2008
Posts: 18
Location: India

PostPosted: Wed Jun 18, 2008 10:22 am    Post subject: Reply to: CLASS parameter oveeride
Reply with quote

I have to use a different class for executing or compiling DB2 programs.For normal COBOL pgms and other steps it is a different class.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Jun 18, 2008 10:26 am    Post subject:
Reply with quote

Hello,

I suggest you talk with the people who make the rules for your system.

From what you've said, if a job does any db2, the entire job should
run in the "db2 class". If it has no db2, it runs in another class.

Consider a 10 step job that had 4 db2 steps and 6 non-db2 steps and they are interleaved. It makes no sense to try to "dance around" and run that many different jobs to accommodate "class-switching".

In either case, class switching would provide no benefit.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sat Jun 21, 2008 3:51 pm    Post subject:
Reply with quote

Yip, another case of "Rules is rules, even if they are useless rules".
Back to top
View user's profile Send private message
manojtyagi_09

New User


Joined: 30 Oct 2006
Posts: 10

PostPosted: Thu Jun 26, 2008 1:44 pm    Post subject:
Reply with quote

If you want to execute only the first 3 steps with the CLASS u mentioned. Put a Null statement after the 3rd step. All the below steps will not be executed.
Back to top
View user's profile Send private message
manojtyagi_09

New User


Joined: 30 Oct 2006
Posts: 10

PostPosted: Thu Jun 26, 2008 1:47 pm    Post subject:
Reply with quote

[quote="manojtyagi_09"]

Thinking that you want to execute first 3 steps with CLASS = A and next 3 with CLASS = B.

First Take CLASS = A in job statment and run the first 3 steps using the null statement end the end of 3rd step.

Once done

Change CLASS = B in job stattment take RESTART = Step 4 in your JCL and submit that .

That's it.

But i do not know what is the use of doing such thing.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us