Is there a way to read JESMSGLG in program?



Ask about System customization & performance, Workload management, I/O device configuration etc.

Is there a way to read JESMSGLG in program?

Postby chong_zhou » Wed Apr 11, 2018 9:01 pm

Given a system ID and a JobNr (job number), we can find the job in SDSF (or CA Sysview), then we can view the JESMSGLG, JESJCL, JESYSMSG and etc. My question is that is there a way to read those DDs in my program (a standalone program, not a step of the target job)? (for some reason I want to read them in my program and send them off platform for some crazy auto-analyzers)

Any TSO commands that can be used in Rexx? or any LE APIs for C program? or any system macros for HLASM? Any clue would be welcome. Thank you guys in advance!
chong_zhou
 
Posts: 11
Joined: Wed Nov 01, 2017 8:59 pm
Has thanked: 9 times
Been thanked: 0 time

Re: Is there a way to read JESMSGLG in program?

 

Re: Is there a way to read JESMSGLG in program?

Postby Robert Sample » Wed Apr 11, 2018 9:32 pm

SDSF has an API (application programming interface) that allows you to extract JES output into a data set, which could then be read by a program.
Robert Sample
Global moderator
 
Posts: 3419
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 235 times


Return to System programming

 


  • Related topics
    Replies
    Views
    Last post