Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Adding a step into a proc from JCL.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
rajantsr

New User


Joined: 31 Jan 2007
Posts: 19
Location: Chennai

PostPosted: Thu Jan 03, 2008 8:38 pm    Post subject: Adding a step into a proc from JCL.
Reply with quote

This is the issue

I have a JCL(TESTOVJC) and it EXEC a proc(TESTOVPR) as below.

----------------------------------
//TESTOVJC JOB PRC00,'TESTOVER',CLASS=K,MSGCLASS=I,TIME=1440,
// NOTIFY=&SYSUID
//*
//
//S010 EXEC TESTOVPR
//*
---------------------------------
//TESTOVPR PROC
//*
//S010 EXEC PGM=IEFBR14
//*
//S020 EXEC PGM=IEFBR14
//*
//S030 EXEC PGM=IEFBR14
//*
---------------------------------

I want to insert a step S025 from the JCL without changing anything in the PROC.

Is it possible, or am i being crazy ?

Cheers,
R
Back to top
View user's profile Send private message
References
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 3183
Location: italy

PostPosted: Thu Jan 03, 2008 8:39 pm    Post subject: Reply to: Adding a step into a proc from JCL.
Reply with quote

Just impossible!
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1508

PostPosted: Thu Jan 03, 2008 11:37 pm    Post subject:
Reply with quote

It depends on what you're ultimately trying to do. If it's a temporary thing, you can:

Copy the PROC JCL into your in-stream JCL and make an in-stream PROC out of it adding the extra step.

Or just copy it over and exec it as JCL in your JOB.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 497
Location: Richmond, Virginia

PostPosted: Fri Jan 04, 2008 12:14 am    Post subject:
Reply with quote

It's a sad day when JCL questions drive us insane.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3564
Location: Brussels once more ...

PostPosted: Fri Jan 04, 2008 1:08 am    Post subject:
Reply with quote

And with a PROC executing 3 IEFBR14's I beg to ask if this is your homework.
Back to top
View user's profile Send private message
rajantsr

New User


Joined: 31 Jan 2007
Posts: 19
Location: Chennai

PostPosted: Mon Jan 07, 2008 6:58 pm    Post subject: Reply to: Adding a step into a proc from JCL.
Reply with quote

Yes expat ! it is for example, actually the steps does different things than what i gave in here. It is just for example...

Sorry Phil, This question is driving us crazy for past fewdays..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1