Page 1 of 3

Use of JESMSGLOG, JESJCL and JESYSMSG

PostPosted: Wed Nov 16, 2011 1:33 am
by coldplay1991
What are JESMSGLOG, JESJCL and JESYSMSG and how are they used?
I want to be able to get all event log data related to my id. How will I obtain that?

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

PostPosted: Wed Nov 16, 2011 2:00 am
by dick scherrer
Hello,

JESMSGLOG, JESJCL and JESYSMSG are sysout datasets created when a job runs. Each contains different information. Look at the contents for a few one-step jobs and then look at these for longer more complex jobs.

They do not contain the same info as the smf data.

I want to be able to get all event log data related to my id.
Before you can "get" it, you need to define clearly what you are looking for. What you want could be quite simple or it could take months of work developing - it just depends on exactly what you want.

Why are you looking for this info? If we knew what purpose it would serve, we might be able to offer more useful suggestions.

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

PostPosted: Wed Nov 16, 2011 2:04 am
by coldplay1991
I am looking for security related events.
Moreover, how do I get inside a generation to see its contents.

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

PostPosted: Wed Nov 16, 2011 2:13 am
by dick scherrer
Hello,

I am looking for security related events.
I have no idea what this means to you. You may get short sentence replies, but you need to post complete information when you want help. We cannot read minds (though sometimes a Psychic Day is proclaimed 8-) )

Moreover, how do I get inside a generation to see its contents.
What "get inside". . . :? A generation is just another file and you read it as any other sequential file. The only "magic" is the dataset name that has 2 ways to specify the generation.

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

PostPosted: Wed Nov 16, 2011 2:26 am
by coldplay1991
I tried this way but doesnt work.

/STEP020  EXEC PGM=GDGR80C1
//GETRS80  DD  DSN=SIMOTIME.DATA.GDGROUP1,DISP=SHR
//PUTRS80  DD  DSN=SIMOTIME.DATA.GDG2RSEQ,
//             DISP=(NEW,CATLG,DELETE),
//             STORCLAS=MFI,
//             SPACE=(TRK,5),
//             DCB=(RECFM=FB,LRECL=80,DSORG=PS)
//SYSOUT   DD  SYSOUT=*

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

PostPosted: Wed Nov 16, 2011 2:31 am
by NicC
Nowhere in that JCL is a GDG mentioned. What is GDGR80C1 - presumably an in-housde program that only people who work in the same place as you know anything about.

Suggest you read the JCL Language reference manual and the user guide. And that is just for starters.

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

PostPosted: Wed Nov 16, 2011 2:36 am
by enrico-sorichetti
the example is taken from
http://www.simotime.com/gdgone01.htm#JCLGDSALLJ1

I wonder why somebody should believe that a snippet from somewhere would run unchanged somewhere else

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

PostPosted: Wed Nov 16, 2011 2:36 am
by coldplay1991
I figured out how to read generation data, using the ISPF panels Edit. It is empty. I dumped SMF data and sorted but it is empty. Why?

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

PostPosted: Wed Nov 16, 2011 2:38 am
by NicC
I do not know why - you have all the information at your end and you have not shared any of it with us.

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

PostPosted: Wed Nov 16, 2011 2:45 am
by coldplay1991
How do I check the generation's content?