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

Using multiple routines at exit 6 in JES2


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

New User


Joined: 06 Feb 2018
Posts: 18
Location: United States

PostPosted: Sat Feb 10, 2018 11:57 pm
Reply with quote

Do you think if there are 2 exit routines at exit6 that the second routine will be invoked after all of the cards for a job have passed thru the first routine or is each card passed in sequence thru each routine ?
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 869
Location: The Universe

PostPosted: Sun Feb 11, 2018 1:32 am
Reply with quote

The exit routines are called in this order

card 1 - exit 1, then exit 2

card 2 - exit 1, then exit 2

end of job - exit 1, then exit 2

The return codes, especially in the first exit routine called, can fiddle with this to some extent. See the docs.
Back to top
View user's profile Send private message
Randy Horowitz

New User


Joined: 06 Feb 2018
Posts: 18
Location: United States

PostPosted: Sun Feb 11, 2018 1:49 am
Reply with quote

Thanks for the info !
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 Creating a single-record file with CO... DFSORT/ICETOOL 8
No new posts Read 4MB message and split into multi... COBOL Programming 9
No new posts Multiple Sums in one File SYNCSORT 2
No new posts Retrieve multiple records with metaco... CA Products 0
No new posts Multiple Entry PL/I & Assembler 5
Search our Forums:

Back to Top