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

how to exec first 50 steps


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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
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: 1448
Location: Chicago, IL

PostPosted: Fri Aug 05, 2005 11:49 am
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
No new posts Determine Library REXX exec was execu... CLIST & REXX 7
No new posts parmeter existence bit for URIMAP in ... CICS 1
Search our Forums:

Back to Top