Re: How to write the JESMSGLG to a dataset?
Posted:
Wed Apr 21, 2010 5:00 pm
by smita
Thanks a lot Anuj!!
It worked for me.
Re: How to write the JESMSGLG to a dataset?
Posted:
Thu Apr 22, 2010 11:13 am
by uday123
Hi Smita,
A Sample of how to use the SDSF Batch (this will print syslog to a dataset)
//COPYIT EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//*
//SYSUT2 DD DISP=(MOD,CATLG,DELETE),DSN=TSO.SDSF.SYSLOG,
// UNIT=DISK,LRECL=133,BLKSIZE=0,
// SPACE=(CYL,(10,5),RLSE)
//SYSUT1 DD *
SYSLOG Listing thru ISFADF SDSF batch
//*
//SYSIN DD DUMMY
/*
//BTCHSDSF EXEC PGM=ISFAFD
//ISFOUT DD SYSOUT=*
//SDSFLOG DD DISP=OLD,DSN=TSO.SDSF.SYSLOG
//ISFIN DD *
LOG
TOP
AFD WTOR OFF
AFD LOGSTAMP OFF
AFD QUERY DS
LOG
This could be tailored for just your job and then print it to a dataset.
Regards
Uday
Re: How to write the JESJCL to a dataset?
Posted:
Mon May 03, 2010 5:42 pm
by aravindhreddy
a"]Hi All,
Can anybody help me to write the JESMSGLG information in the spool to a dataset? I want to achieve it using JCL.
I see in the spool that each job's JESJCL is written to a dynamically created dataset. I can't open them in View or Browse mode.
Can anyone help?
Thanks,
Aravindh/quote]
Re: How to write the JESMSGLG to a dataset?
Posted:
Mon May 03, 2010 9:09 pm
by CICS Guy
Lionel B. Dyck has a great little tool,
SDFSEXT, a generalized SDSF batch tool to extract all or part of your sysout into a dataset.
Re: How to write the JESMSGLG to a dataset?
Posted:
Tue May 04, 2010 12:03 am
by dick scherrer
Hello,
Can anyone help?
Hopefully, you can read thru this entire topic and discover that your question has already been answered. . .
I see in the spool that each job's JESJCL is written to a dynamically created dataset. I can't open them in View or Browse mode.
Why not?
If the data is already in some dataset, why is the question about the spool?