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

I want to execute STEP5 ten times.


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Akatsukami

Global Moderator


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

PostPosted: Wed Feb 03, 2010 3:20 am
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: 3156
Location: Tucson AZ

PostPosted: Wed Feb 03, 2010 5:16 am
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Feb 03, 2010 7:18 am
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

Superior Member


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

PostPosted: Wed Feb 03, 2010 4:09 pm
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
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

Moderator Emeritus


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

PostPosted: Wed Feb 17, 2010 10:15 pm
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
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

Moderator Emeritus


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

PostPosted: Wed Feb 17, 2010 11:28 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Build a record in output file and rep... DFSORT/ICETOOL 11
This topic is locked: you cannot edit posts or make replies. How To Write, Compile and Execute Cob... COBOL Programming 5
No new posts Evaluate variable to execute a jcl step JCL & VSAM 3
Search our Forums:

Back to Top