Use of JESMSGLOG, JESJCL and JESYSMSG



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Use of JESMSGLOG, JESJCL and JESYSMSG

Postby coldplay1991 » Wed Nov 16, 2011 1:33 am

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?
coldplay1991
 
Posts: 59
Joined: Tue Nov 15, 2011 5:47 am
Has thanked: 0 time
Been thanked: 0 time

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

 

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

Postby dick scherrer » Wed Nov 16, 2011 2:00 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

Postby coldplay1991 » Wed Nov 16, 2011 2:04 am

I am looking for security related events.
Moreover, how do I get inside a generation to see its contents.
coldplay1991
 
Posts: 59
Joined: Tue Nov 15, 2011 5:47 am
Has thanked: 0 time
Been thanked: 0 time

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

Postby dick scherrer » Wed Nov 16, 2011 2:13 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

Postby coldplay1991 » Wed Nov 16, 2011 2:26 am

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=*
coldplay1991
 
Posts: 59
Joined: Tue Nov 15, 2011 5:47 am
Has thanked: 0 time
Been thanked: 0 time

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

Postby NicC » Wed Nov 16, 2011 2:31 am

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

Postby enrico-sorichetti » Wed Nov 16, 2011 2:36 am

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
Last edited by enrico-sorichetti on Wed Nov 16, 2011 2:38 am, edited 1 time in total.
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

Postby coldplay1991 » Wed Nov 16, 2011 2:36 am

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?
coldplay1991
 
Posts: 59
Joined: Tue Nov 15, 2011 5:47 am
Has thanked: 0 time
Been thanked: 0 time

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

Postby NicC » Wed Nov 16, 2011 2:38 am

I do not know why - you have all the information at your end and you have not shared any of it with us.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: Use of JESMSGLOG, JESJCL and JESYSMSG

Postby coldplay1991 » Wed Nov 16, 2011 2:45 am

How do I check the generation's content?
coldplay1991
 
Posts: 59
Joined: Tue Nov 15, 2011 5:47 am
Has thanked: 0 time
Been thanked: 0 time

Next

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post