View previous topic :: View next topic
|
Author |
Message |
Khadhar Basha
New User
Joined: 28 Oct 2014 Posts: 44 Location: India
|
|
|
|
Hi All,
I would like to extract jobs which are currently in execution state. Not the jesjcl jesmsg and all.
Say W* jobs executing in spool, i want to get job name, id, St-time.
Below code used to extract a job log in dataset. I want only statistics. Help me with the parms.
Code: |
//BATCHSP JOB (ACC INFO,,,,,XXXX),' ',CLASS=M,
// MSGCLASS=Y,NOTIFY=&SYSUID
//********************************************************
//** COPY THE ISPF PROFILE
//*********************************************************
//BSDSF EXEC PGM=ISFAFD,PARM='++30,256'
//ISFOUT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//ISFIN DD *
PRE job-name
ST
FILTER JOBID EQ job-id
++?
FIND 'SYSOUT'
++S
PRINT ODSN 'USER.ABC.XYZ' * SHR
PRINT 1 9999
PRINT CLOSE
END
EXIT
/*
//
|
My previous post ibmmainframes.com/viewtopic.php?p=327700#327700 |
|
Back to top |
|
|
Paul Voyner
New User
Joined: 26 Nov 2012 Posts: 52 Location: UK
|
|
|
|
Khadhar, what are you playing at ? I've recently helped you with rexx code to get information out of SDSF, and now you say you're using SDSF in batch to do something almost identical. Have you not actually learned a single thing from what I told you ? |
|
Back to top |
|
|
Khadhar Basha
New User
Joined: 28 Oct 2014 Posts: 44 Location: India
|
|
|
|
Hi Paul,
I was very thankful to you. I want to get spool data of 5 LPAR.
I am able to connect LPAR using FTP. When I submit rexx thru IKJEFT01, i get RC 8 at below and my output is empty.
Code: |
Address SDSF "isfexec st(ALTERNATE DELAYED"
if RC ยช= 0 then do
say "isfexec RC" RC
exit |
Though i have access to LPAR.
That's why thought of trying batch to know really if i dont have access or not.
Apologies if this looks am playing around forum. |
|
Back to top |
|
|
Paul Voyner
New User
Joined: 26 Nov 2012 Posts: 52 Location: UK
|
|
|
|
So why did you get an RC 8 ? Did you do any analysis ? |
|
Back to top |
|
|
|