Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10327
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: 965
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us