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
 

 

I want to execute STEP5 ten times.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1753
Location: Bloomington, IL

PostPosted: Wed Feb 03, 2010 3:20 am    Post subject: I want to execute STEP5 ten times.
Reply with quote

Can't be done with vanilla MVS/JES2/JES3, I agree.

But suppose I were to write my own DSP to replace the JCL converter/interpreter (not that I plan on trying icon_eek.gif ). Could the JCL at least be expanded to allow multiple executions of a step? Could we go further and introduce a DO WHILE/UNTIL construct with, perhaps, other DSP mods (such as MAIN)?
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Wed Feb 03, 2010 5:16 am    Post subject:
Reply with quote

Try looking at I want to run step4 10 times.....
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7995
Location: Bellevue, IA

PostPosted: Wed Feb 03, 2010 7:18 am    Post subject:
Reply with quote

If you write your own converter / interpreter, you can have it do pretty much anything you want. There would be design issues, of course (such as backwards compatibility with current JCL) -- but if you've got the skill to write the software then you can have it doing loops, true IF/THEN/ELSE logic, arithmetic, and so forth.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Feb 03, 2010 4:09 pm    Post subject:
Reply with quote

This thread smells ambiguous ... icon_rolleyes.gif
Back to top
View user's profile Send private message
Willem Vermeer

New User


Joined: 31 Oct 2007
Posts: 38
Location: Amsterdam, the Netherlands

PostPosted: Wed Feb 17, 2010 10:04 pm    Post subject:
Reply with quote

I think that introducing such a loop-capability would lead to very serious incompatiilities with any current JES-environment. After all, what would you do with, say, DISP=(,PASS)? Which one would you be PASSing? Or with a DISP=(,CATLG)? Try executing that multiple times!

What I would like to see, would be a facility to execute Jobsteps concurrently. If the steps have no interdependencies, why wait for eachother?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Feb 17, 2010 10:15 pm    Post subject:
Reply with quote

Hello,

Quote:
If the steps have no interdependencies, why wait for eachother?
One reason could be performance issues. . .
Back to top
View user's profile Send private message
Willem Vermeer

New User


Joined: 31 Oct 2007
Posts: 38
Location: Amsterdam, the Netherlands

PostPosted: Wed Feb 17, 2010 10:25 pm    Post subject:
Reply with quote

True, any resource can be exhausted but I don't consider this to be a problem that's fundamentally different from what I would be facing with just 1 step.

And look at DFSMSdss. This utility allows you to execute several operations in parallel. Indeed, the manual warns you about availability of resources, but so what?

I would really like to see JES2 do something similar.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Feb 17, 2010 11:28 pm    Post subject:
Reply with quote

Hello,

Quote:
True, any resource can be exhausted but I don't consider this to be a problem that's fundamentally different from what I would be facing with just 1 step.
On multiple systems i've been involved with someone asked me about this or that "tuning concern". . .

What happened in several cases was that processes that ran concurrently ran far longer than when run serially. The culprit was that more time was spent moving the heads on the dasd than actually processing the data. Of course, this was some time ago when the dasd was real 33nn disk and not emulated. . . icon_cool.gif
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts How to calculate an specific transact... lind sh CICS 2 Tue Sep 13, 2016 9:20 pm
No new posts execute APP if they are not ADDRESS T... italo_pm CLIST & REXX 3 Fri Aug 12, 2016 2:15 am
No new posts Execute multiple DB2 Load commands in... faizm DB2 4 Wed Aug 03, 2016 12:53 pm
No new posts CEXEC not able to execute if no SLINE... boyti ko CLIST & REXX 2 Wed Apr 13, 2016 4:31 pm


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