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: 10210
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: 962
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 Adding records from two files into on... shiitiizz SYNCSORT 4 Mon Sep 19, 2016 8:41 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm
No new posts Adding a descending character to a file Steve Ironmonger DFSORT/ICETOOL 3 Fri Jul 15, 2016 4:57 pm
No new posts Single step utility for compare and u... ramprakashn JCL & VSAM 5 Fri Apr 29, 2016 3:43 pm


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