IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

capturing JCLLOG using JCl


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shinderajan222
Warnings : 1

New User


Joined: 28 Aug 2008
Posts: 12
Location: PUNE

PostPosted: Tue Apr 14, 2009 8:48 pm
Reply with quote

Hi ,

I have written following JCl to cature JCl log of JCL.

//STEP01 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTSIN DD *
OUTPUT MEDMALAB PRINT('N48A27.C5303.AUTO.CNTL(JCLLOG)')
/*
//

Note:- MEDMALAB is jobname in PJS

But if I use same JCL for capturing log of a JCL which is scheduled thru PJS it is not running it is giving following message. I have scheduled JCB thru my ID only

READY
OUTPUT N48AALAB PRINT('N48A27.C5303.AUTO.CNTL(JCLLOG)')
JOB N48AALAB REJECTED - JOBNAME MUST BE YOUR USERID OR MUST START WITH YOUR USER
READY
END


please suggest me something. we have genralised jobnames as that of member name.

any reply will be appreciated.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Apr 14, 2009 9:00 pm
Reply with quote

In invoking SDSF XDC in batch
CICS Guy wrote:
Check out Lionel B. Dyck. he has a great little tool, SDFSEXT, a generalized SDSF batch tool to extract all or part of your sysout into a dataset that you could do whatever you want with.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 14, 2009 9:35 pm
Reply with quote

Hello,

If you only have access to "your" jobs, you need to obtain additional permissions. . .

New/different tools won't help if security has you blocked. . .
Back to top
View user's profile Send private message
shinderajan222
Warnings : 1

New User


Joined: 28 Aug 2008
Posts: 12
Location: PUNE

PostPosted: Wed Apr 15, 2009 11:28 am
Reply with quote

Thanks for your reply Dick,William

I have all access because When I used same code for capturing JCLLOG for JCl which we submit manually it is giving reqd result.

//STEP01 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTSIN DD *
OUTPUT N48A27A(J058130) PRINT('N48A27.C5303.AUTO.CNTLJCLLOG)')
/*
//
Here n48a27A is job name

but for a job which is getting submitted thru PJS it is showing error.


//STEP01 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTSIN DD *
OUTPUT MEDMALAB PRINT('N48A27.C5303.AUTO.CNTL(JCLLOG)')
/*
//
Here MEDMALAB is jobname for PJS note:- PJS job is scheduled using my ID only.

I am getting following messages in SYSTSPRT

READY
OUTPUT MEDMALAB PRINT('N48A27.C5303.AUTO.CNTL(JCLLOG)')
JOB MEDMALAB REJECTED - JOBNAME MUST BE YOUR USERID OR MUST START WITH YOUR YOUR USERID
READY
END

Please suggest me if you have any idea. Thanks in advance.

Rajan S.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Apr 15, 2009 11:33 am
Reply with quote

Quote:
JOB MEDMALAB REJECTED - JOBNAME MUST BE YOUR USERID OR MUST START WITH YOUR YOUR USERID


the message is clear, that is the way the OUTPUT command works...

investigate teh use of the REXX SDSF interface
Back to top
View user's profile Send private message
shinderajan222
Warnings : 1

New User


Joined: 28 Aug 2008
Posts: 12
Location: PUNE

PostPosted: Wed Apr 15, 2009 12:42 pm
Reply with quote

Is there any other way to capture JCLLOG?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Apr 15, 2009 12:45 pm
Reply with quote

You just got an alternative ...
#repeat on
investigate the use of the REXX SDSF interface
#repeat off

search the forums for REXX SDSF
or google for REXX SDSF REDBOOK[s] IBM
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts Rexx log capturing CLIST & REXX 15
No new posts Capturing COBOL job and program names... All Other Mainframe Topics 2
No new posts Capturing logs from spool dd JCL & VSAM 6
No new posts ISPF search - capturing result TSO/ISPF 15
Search our Forums:

Back to Top