Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

capturing JCLLOG using JCl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: capturing JCLLOG using JCl
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: 3158
Location: Tucson AZ

PostPosted: Tue Apr 14, 2009 9:00 pm    Post subject:
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

Site Director


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

PostPosted: Tue Apr 14, 2009 9:35 pm    Post subject:
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    Post subject: Reply to: capturing JCLLOG using JCl
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Wed Apr 15, 2009 11:33 am    Post subject: Reply to: capturing JCLLOG using JCl
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    Post subject: Reply to: capturing JCLLOG using JCl
Reply with quote

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Wed Apr 15, 2009 12:45 pm    Post subject: Reply to: capturing JCLLOG using JCl
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Capturing Cobol Program Displays luis_pr TSO/ISPF 1 Wed Jun 03, 2015 5:01 am
No new posts HTTPGETCLOB Response capturing mallik4u DB2 0 Sat Feb 14, 2015 1:02 am
No new posts Capturing job names and all the datas... sandeep kumar302 COBOL Programming 7 Sat Dec 07, 2013 9:17 am
No new posts Capturing the JOBNAME in COBOL program nightbuzzz COBOL Programming 14 Mon Apr 16, 2012 2:38 pm
No new posts Capturing ddl using jcl & adding ... PRADEEP57 DB2 6 Thu Dec 29, 2011 12:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us