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
 

 

Scan Batch Job Step CC from a program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
drowelf
Warnings : 1

New User


Joined: 03 Mar 2006
Posts: 39
Location: Houston, Texas

PostPosted: Wed Aug 16, 2006 10:02 am    Post subject: Scan Batch Job Step CC from a program
Reply with quote

I'm running a series of steps in a Batch Program, now at the last step I want to retrieve the highest CC from any step and send that information, via TCP/IP to another system.

Can someone point me to the proper manuals/procedures to get scan all the CC returned by each step in a batch job. This program will run as the last step in the job.

I know that I'll have to write a program to do this, so that not the issue, the issue will be finding the right control blocks/apis to get this data.

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

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Aug 16, 2006 12:31 pm    Post subject: Re: Scan Batch Job Step CC from a program
Reply with quote

Would this code help?

http://ibmmainframes.com/viewtopic.php?t=3904&highlight=storage
Back to top
View user's profile Send private message
drowelf
Warnings : 1

New User


Joined: 03 Mar 2006
Posts: 39
Location: Houston, Texas

PostPosted: Tue Aug 22, 2006 8:15 pm    Post subject: Re: Scan Batch Job Step CC from a program
Reply with quote

Thanks,

That is exactly what I need and in Rexx too! Even better.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Aug 22, 2006 8:17 pm    Post subject: Re: Scan Batch Job Step CC from a program
Reply with quote

You need to remove that email address from your signature. It's against the forum rules (and, it'll help prevent spamming).

And, FYI, there are versions of the same basic code written in COBOL out on the Internet.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


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