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
 

 

Jobs from iseries not running in sequence on mainframe

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

New User


Joined: 16 Jan 2016
Posts: 1
Location: United Kingdom

PostPosted: Sun Jan 17, 2016 10:38 pm    Post subject: NDM File transfer from iseries
Reply with quote

I have an iseries job that sends files to Mainframes via NDM (Connect Direct). CDSND and CDRUNJOB commands for this purpose.

Although my Copy and Run tasks complete successfully, there is an issue with the Mainframe job not getting into the initiator queue and not getting a slot to be executed. Say, I have 5 iseries jobs to be executed in an order and the 3rd job does not get executed and somehow the 4th job gets a slot and gets executed, this causes issues in my final output as the jobs have to be executed in the same order.
The purpose of these NDM jobs is to upload a file on to a web portal.So, the file is sent from iseries to Mainframe and then to the web portal.

Mainframe team has come back with a reason that the transmission job does not get an initiator immediately due to a loaded system and this causes a delay in executing a job.

Is there any way I could get a response from Mainframes to iseries after a job got into the initiator queue and got a slot and executed successfully.

Thanks
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


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

PostPosted: Sun Jan 17, 2016 11:15 pm    Post subject:
Reply with quote

You need to work with your mainframe support group to design and implement a solution. z/OS has two job entry subsystems, JES2 and JES3, and they do NOT guarantee that jobs will execute in the order they are submitted. In other words, the fourth job submitted running before the third job submitted is a normal and expected occurrence on the mainframe.

The usual ways of handling sequence issues is to use the system job scheduler or to have one job submit the next in sequence. There are other possible solutions depending upon the site (for example, Dependent Job Control if the site is using JES3).
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1714
Location: UK

PostPosted: Mon Jan 18, 2016 1:18 am    Post subject:
Reply with quote

Please do not hi-jack other peoples' threads. Split.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7226

PostPosted: Mon Jan 18, 2016 3:53 am    Post subject: Reply to: Jobs from iseries not running in sequence on mainframe
Reply with quote

Hi again lyd :-)

Nice try, but perhaps an iSeries forum would be better to pick up a bunch of suggestions? Still don't expect any of them to be bought by your Mainframe guys (many will not be possible, some will be stupid).

As I said before, you need to talk to the Mainframe people. I know you've not got far with them yet. If your own stick isn't big enough, you need to find someone with a bigger stick.

As an interim, how about sending yourself a file from the Mainframe when the JOB finishes?
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 175
Location: UK

PostPosted: Tue Jan 19, 2016 5:16 pm    Post subject: Reply to: Jobs from iseries not running in sequence on mainframe
Reply with quote

What job scheduler do you use? Certainly with TWS it would be possible to submit the iSeries job and then track the mainframe job, even if that is submitted by the iSeries job rather than the scheduler. Then when it has completed, the next iSeries job can be run.

I'm sure other schedulers would have similar functionality.
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
This topic is locked: you cannot edit posts or make replies. Urgent Mainframe Requirments (2-10 yr... Shankar779 Mainframe Jobs 0 Sun Nov 27, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Developer requirement in Ku... capricorn Mainframe Jobs 0 Sun Oct 23, 2016 3:49 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts Interface from Mainframe to Confluenc... hblun CLIST & REXX 4 Tue Sep 20, 2016 5:47 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Admin Openings with CTS enikhilk Mainframe Jobs 0 Tue Sep 13, 2016 10:13 am


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