HOW TO CAPTURE JOBLOG THROUGH JCL

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
mithunthakre
Member
Posts: 8
Joined: Mon Feb 27, 2006 4:31 pm
Location: India

HOW TO CAPTURE JOBLOG THROUGH JCL

Post by mithunthakre » Mon Feb 27, 2006 4:57 pm

HI ALL,

I WANT TO CAPTURE THE JOBLOG THROUGH JCL MEANS I WANT JESMSG
JESJCLAND SPOOL ALSO INTO FLAT FILE. WHEN I WILL SUBMIT THE JCL IT WILL STORE ALL THESE INFORMATION INTO FLAT FILE.

I DON'T WANT THROUGH SPOOL COMMOND XDC

THANKS & REGARDS,
MITHUN...

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Tue Mar 10, 2009 7:37 pm

Hi,

Do you have SDSF at your shop?
Regards,
Anuj

anu alexander
Member
Posts: 6
Joined: Fri Jul 05, 2013 7:52 pm

hi

Post by anu alexander » Fri Jul 05, 2013 8:00 pm

you can give

sysprint dd sysout=(data set name),disp=(new.catlg,delete).Then the spool sysout data will be printed to this data set

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Fri Jul 05, 2013 11:28 pm

Ah, no you cannot . . .


There is no dd statement for the JESMSG data. . .

Please do not post without testing.
Have a good one

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Sat Jul 06, 2013 12:36 am

Or post on old topics - this one is over 4 years old - the person probably has an answer by now.
Regards
Nic

Prettycool
Member
Posts: 5
Joined: Thu Nov 28, 2013 5:39 pm

Post by Prettycool » Thu Nov 28, 2013 5:48 pm

Hi All,

I'm need of the answer for the query posted by Mithun in 2006.

I WANT TO CAPTURE THE JOBLOG THROUGH JCL i.e I WANT JESMSG
JESJCL AND SPOOL ALSO INTO FLAT FILE. WHEN I WILL SUBMIT THE JCL IT WILL STORE ALL THESE INFORMATION INTO FLAT FILE OR GDG.

I DON'T WANT THROUGH SPOOL COMMOND XDC NOR GIVING A FLAT FILE AT SYSOUT.

CAN YOU PLEASE HELP..

REGARDS,
MADHU

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Thu Nov 28, 2013 9:56 pm

Please do not use all CAPS - it is rude (considered to be shouting). I know you just cut and pasted but you could have pasted via Notepad and de-capped it.

If data is written to a DDNAME e.g. SYSOUT then you can direct it to a dataset but anything else is written to the spool - nothing you can do about that. You can access the spool via SDSF in batch if you do not want to do it in foreground. Refer to the SDSF help and manuals.
Regards
Nic

Prettycool
Member
Posts: 5
Joined: Thu Nov 28, 2013 5:39 pm

Post by Prettycool » Thu Nov 28, 2013 10:18 pm

Thank you Nic. I would check for the SDSF manuals and sorry about the capital letters. I would take care next time. :)


Regards,
Madhu

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others