View previous topic :: View next topic
|
Author |
Message |
tamizh_005 Currently Banned New User
Joined: 22 Apr 2008 Posts: 3 Location: chennai
|
|
|
|
How to retrieve all the messages that are running currently in syslog to the physical sequential(ps) file or to the member of the partitioned data set(pds). |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
In SDSF, XDC... |
|
Back to top |
|
|
tamizh_005 Currently Banned New User
Joined: 22 Apr 2008 Posts: 3 Location: chennai
|
|
|
|
hi,
let me know some more details about this |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
In SDSF, entering XDC before a job will direct to screen to copy job log into PS or member of PDS... |
|
Back to top |
|
|
tamizh_005 Currently Banned New User
Joined: 22 Apr 2008 Posts: 3 Location: chennai
|
|
|
|
hi,
I'm not having that JCL if possible tell me where to refer? |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
In SDSF, the action characters XDC on a job will copy the output of that job (including the JESMSGLG portion) to a dataset you will be prompted to supply.
If you want records from the SYSLOG for all system activity, go to the LOG and use these commands to specify the dataset and time span:
PRINT DATASET
PRINT hh.mm.ss hh.mm.ss
PRINT CLOSE |
|
Back to top |
|
|
ram1424 Currently Banned New User
Joined: 16 Apr 2008 Posts: 3 Location: chennai
|
|
|
|
hi,
PRINT DATASET
PRINT hh.mm.ss hh.mm.ss
PRINT CLOSE
anyone can explain about the usage of the above lines in the log area with examples.
thanks in advance,
tamizh |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
1. go to SDFS LOG display
2. type PRINT DATASET in command line, press Enter
3. fill out panel
4. type PRINT 08:00:00 09:00:00 in command line, press Enter
5. type PRINT CLOSE in the command line, press Enter
See the online help and search for PRINT, cause the reference book does not describe this well. |
|
Back to top |
|
|
ram1424 Currently Banned New User
Joined: 16 Apr 2008 Posts: 3 Location: chennai
|
|
|
|
hi pedro,
thanks for your suggestions.when i type PRINT DATASET NAME in the command line,it shows 'parm invalid' and explain me briefly how to give the dataset name.
thanks in advance,
ram |
|
Back to top |
|
|
sri_mf
Active User
Joined: 31 Aug 2006 Posts: 218 Location: India
|
|
|
|
ram1424 wrote: |
hi pedro,
thanks for your suggestions.when i type PRINT DATASET NAME in the command line,it shows 'parm invalid' and explain me briefly how to give the dataset name.
thanks in advance,
ram |
Ram i think u r trying this for the total job.
I tried the same and it's not working for the total job.
Then i tried individually n it worked fine.
OPen ur JESMSGLG or JESJCL or etc and try this method.It will work fine.I tried it. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Ram, please confirm that you are using the LOG option of SDSF.
My earlier instructions said to type PRINT DATASET in the command line of the syslog display. Do not include 'name' as part of the command. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi Pedro,
can this be done in a batch job ? I tried the following code but
output is been written to DDname SYS00001 or SYS00002.
Code: |
//SDSF EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//ISFOUT DD SYSOUT=*
//LOGOUT DD DSN=USER.FILE,
// DISP=(,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(TRK,(10,5),RLSE),
// DCB=(RECFM=FBA,LRECL=133)
//SYSTSIN DD *
SDSF
//ISFIN DD *
LOG
PRINT (FILE) (LOGOUT)
PRINT 08:00:00 09:00:00
PRINT CLOSE
//*
//**********************************************************************
|
Gerry |
|
Back to top |
|
|
sri_mf
Active User
Joined: 31 Aug 2006 Posts: 218 Location: India
|
|
|
|
Gerry can u explain What does this signifies? |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi Sri,
. . it signifies start time and end time.
Gerry |
|
Back to top |
|
|
sri_mf
Active User
Joined: 31 Aug 2006 Posts: 218 Location: India
|
|
|
|
gcicchet wrote: |
Hi Sri,
it signifies start end end time.
Gerry |
Thanks Gerry |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
gcicchet,
Try without parenthesis:
Code: |
//ISFIN DD *
LOG
PRINT FILE LOGOUT
PRINT 08:00:00 09:00:00
PRINT CLOSE |
FYI. I think the commands in batch should use the same syntax as you would use in ISPF. But in ISPF, you get better diagnostic messages. If you tried PRINT (FILE) (LOGOUT) in ISPF, you would see and 'invalid parm' message. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi Pedro,
without the paranthesis it worked fine.
Thanks.
This might assist Kevin in a later thread "SDSF and SYSLOG"
Gerry |
|
Back to top |
|
|
|