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

Adding a step into a proc from JCL.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jan 03, 2008 8:39 pm
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
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: 1042
Location: Richmond, Virginia

PostPosted: Fri Jan 04, 2008 12:14 am
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: 8797
Location: Welsh Wales

PostPosted: Fri Jan 04, 2008 1:08 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Adding first / last acct numerber to ... DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top