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
 

 

how to exec first 50 steps

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
raju_rangam
Warnings : 1

New User


Joined: 31 Mar 2005
Posts: 25
Location: bangalore

PostPosted: Fri Aug 05, 2005 11:26 am    Post subject: how to exec first 50 steps
Reply with quote

how to execute first 50 steps out of 1000 steps with minimum code
Back to top
View user's profile Send private message

kumar_ngl
Warnings : 1

New User


Joined: 05 Aug 2005
Posts: 50
Location: chennai

PostPosted: Fri Aug 05, 2005 11:49 am    Post subject:
Reply with quote

hi raju,

very next to the 50th step give // , that means thats the end of ur job..

correct me if am wrong

kumar.p.v
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Fri Aug 05, 2005 11:49 am    Post subject: Re: how to exec first 50 steps
Reply with quote

Hi raju_rangam,

Code a blank statement after Step 50.

Code:
STEP50...
...........
//
STEP51
STEP52
.
.
.
STEP1000


I think it is the most minimum you can do.....

Regards,

Priyesh.
Back to top
View user's profile Send private message
jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 160
Location: Toronto, Canada

PostPosted: Fri Aug 05, 2005 11:50 am    Post subject:
Reply with quote

1) you can put a null statement between the job, after 50th step..
2) I am sure you must be using procedures because you have 1000 steps
you can override the condition code as CON=(0,GE) for the remaining steps
Back to top
View user's profile Send private message
thanooz

New User


Joined: 28 Jun 2005
Posts: 99

PostPosted: Mon Aug 08, 2005 8:05 pm    Post subject:
Reply with quote

Hi raju

you can do with iebedit


//EDIT2 JOB ...
//STEP1 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=A
//SYSUT1 DD DSN=INJOBS,DISP=(OLD,KEEP),VOLUME=SER=??1234,
// UNIT=tape
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSIN DD *
EDIT START=JOBA,TYPE=INCLUDE,STEPNAME=STEP1-STEP50
/*

THANKS,
THANOOZ.
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Fri Aug 12, 2005 11:56 pm    Post subject:
Reply with quote

You can also use Sub From To
i.e
Code:
Command ==> Sub .a .b
.a0001 //STEP010P EXEC ...
000002 //...
000003 //STEP050P EXEC ...
000004 //...
.b0005 //.........
000006 //STEP051P EXEC ...
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
This topic is locked: you cannot edit posts or make replies. Providing inputs to a panel of anothe... Raghur CLIST & REXX 2 Tue Apr 05, 2016 12:01 pm
No new posts CQM : Exec count is 0 but getpages &g... soundarr DB2 1 Thu Mar 17, 2016 10:08 pm


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