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: 4649
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: 4649
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 Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


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