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
 

 

Adding a step into a proc from JCL.

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

New User


Joined: 31 Jan 2007
Posts: 21
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

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10277
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: 1592

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

Active Member


Joined: 31 Oct 2006
Posts: 964
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: 8593
Location: Back in jolly old England

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: 21
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
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 Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Jcl pram vs proc parms ashek15 JCL & VSAM 3 Thu Mar 30, 2017 6:50 pm


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