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
 

 

TO COPY the jesjcl part of each jobs into separate PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
bala kalluri
Warnings : 1

New User


Joined: 08 Jan 2009
Posts: 21
Location: INDIA

PostPosted: Tue Jan 27, 2009 2:39 pm    Post subject: TO COPY the jesjcl part of each jobs into separate PDS
Reply with quote

I have a pds containing some jobs to be submitted with TYPRUN=scan. My requirement is to copy the jesjcl part of each jobs into separate members of newly created PDS.
Back to top
View user's profile Send private message

rajulan

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Tue Jan 27, 2009 2:43 pm    Post subject:
Reply with quote

Unicenter CA-JMR (JOBLOG Management & Retrieval) is a z/OS and OS/390 application that lets you efficiently store and retrieve job information including job-related messages, data set allocation and disposition, ending conditions of all job steps, JCL listings, system messages and job output. Unicenter CA-JMR collects, reviews, retrieves, archives and stores jobs from a specified class or classes on the JES spool in a single daily data set.

Thanks,
Rajulan.
Back to top
View user's profile Send private message
bala kalluri
Warnings : 1

New User


Joined: 08 Jan 2009
Posts: 21
Location: INDIA

PostPosted: Tue Jan 27, 2009 2:47 pm    Post subject: TO COPY THE JESJCL OF BATCH JOBS INTO MEMBERS OF PDS
Reply with quote

Is there any other way of capturing the jesjcl output to a dataset through jcl or using rexx language.
Back to top
View user's profile Send private message
rajulan

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Tue Jan 27, 2009 2:49 pm    Post subject:
Reply with quote

Not that i know of. In our shop we use this JMR. There may be some thing. If i know, surely i will let u know.

Thanks,
Rajulan.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Jan 27, 2009 3:04 pm    Post subject: Reply to: TO COPY THE JESJCL OF BATCH JOBS INTO MEMBERS OF P
Reply with quote

Quote:
Unicenter CA-JMR (JOBLOG Management & Retrieval) is a z/OS and OS/390 application that lets you efficiently store and retrieve job information including job-related messages, data set allocation and disposition, ending conditions of all job steps, JCL listings, system messages and job output. Unicenter CA-JMR collects, reviews, retrieves, archives and stores jobs from a specified class or classes on the JES spool in a single daily data set.
nice marketingspeak, but what if the TS does not have the product icon_confused.gif

most of the time such request are from a vanilla environment
vanilla ==> standard base IBM zOS JES2/SDSF/ISPF

for suggestions and samples about rexx and sdsf take a look at
http://www.redbooks.ibm.com/abstracts/sg247419.html
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jan 27, 2009 3:09 pm    Post subject:
Reply with quote

Or you could be really adventurous and search the forum for SDSF ...

Maybe this has been asked just once or twice before icon_rolleyes.gif
Back to top
View user's profile Send private message
bala kalluri
Warnings : 1

New User


Joined: 08 Jan 2009
Posts: 21
Location: INDIA

PostPosted: Tue Jan 27, 2009 5:47 pm    Post subject: TO COPY THE JESJCL OF BATCH JOBS INTO MEMBERS OF PDS
Reply with quote

hi,
I went through various topics in the forum related to my topic, but i dint get any idea which ll satisy my requirement. If u have a sample code snippet.. pls share it wd me.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jan 27, 2009 6:00 pm    Post subject:
Reply with quote

Well, the answer is most definitely on the forum. All you have to do is search and find it.

Unless you would like to pay someone else to search for you ?

Try this LINK to try and find out all about finding IBM manuals that are not in the forum selection.
Back to top
View user's profile Send private message
rajulan

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Tue Jan 27, 2009 6:10 pm    Post subject:
Reply with quote

Quote:
nice marketingspeak, but what if the TS does not have the product


It is not like that. In my shop it is pre installed. I just told one utility is available to capture job-related messages, data set allocation and disposition, ending conditions of all job steps, JCL listings, system messages and job output. That is all. Not in a marketing motto.

Thanks,
Rajulan.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jan 27, 2009 6:25 pm    Post subject:
Reply with quote

Hello,

Can XDC be of use here?
Back to top
View user's profile Send private message
bala kalluri
Warnings : 1

New User


Joined: 08 Jan 2009
Posts: 21
Location: INDIA

PostPosted: Tue Jan 27, 2009 6:29 pm    Post subject: TO COPY THE JESJCL OF BATCH JOBS INTO MEMBERS OF PDS
Reply with quote

No..i dont want through XDC . I just want a jcl which will do my job . If not jcl then any REXX program
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jan 27, 2009 6:35 pm    Post subject:
Reply with quote

You know what you want and we know what you want. But it appears that you want it done for you.

So let's start at the begining .....

What manuals have you read, what have you tried and what were the results. Show us what you have tried for yourself.

I am more than willing to provide you with the code, tested and documented, but would you be willing to provide me my daily rate in return ?

Please do not request code without offering any evidence of attempting a resolution yourself. This is a HELP forum, not a "DO IT FOR ME" forum.
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: Wed Jan 28, 2009 2:15 am    Post subject:
Reply with quote

Hello,

Quote:
I went through various topics in the forum related to my topic, but i dint get any idea which ll satisy my requirement.
This would be a good time to become more familiar and comfortable with the forum SEARCH tool.

Multiple very similar topics have been discussed. If you do not find topics that help, you need to modify how you search. If you tell us how you searched, we can probably offer alternate ways for you to search that will find more useful topics.

The most valuable contribution we can make to you and your organization is to help you become self-reliant. This includes both finding info and developing whatever code/control statements are needed for your requirement.
Back to top
View user's profile Send private message
bala kalluri
Warnings : 1

New User


Joined: 08 Jan 2009
Posts: 21
Location: INDIA

PostPosted: Fri Jan 30, 2009 5:38 pm    Post subject: TO COPY THE JESJCL OF BATCH JOBS INTO MEMBERS OF PDS
Reply with quote

I would like to thank the forum , which solved my problem. I got what I wanted. Thanks a lot for helping me out.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Jan 30, 2009 6:04 pm    Post subject:
Reply with quote

Hi,

For the benefit of other, please share the solution used..
Back to top
View user's profile Send private message
bala kalluri
Warnings : 1

New User


Joined: 08 Jan 2009
Posts: 21
Location: INDIA

PostPosted: Sat Mar 28, 2009 4:00 pm    Post subject: TO COPY THE JESJCL OF BATCH JOBS INTO MEMBERS OF PDS
Reply with quote

ADDRESS TSO
DO I=0 TO 4
"ALLOC F(ISFIN) TRACKS SPACE(1) REU"
"ALLOC F(ISFOUT) NEW DELETE REU ",
"TRACKS SPACE(100,100) LRECL(133) RECFM(F,B) DSORG(PS)"
"ALLOC F(TEMPPRT) DA('v12396.NEW.PS1') MOD REUSE"
QUEUE "PRE v123296A"
QUEUE "ST"
QUEUE "DOWN" I
QUEUE "FIND 'JESJCL'"
QUEUE "++S"
QUEUE "PRINT FILE TEMPPRT"
QUEUE "PRINT"
QUEUE "PRINT CLOSE"
QUEUE "END"
QUEUE "EXIT"
"EXECIO" QUEUED()" DISKW ISFIN (FINIS"
ADDRESS ISPEXEC "SELECT PGM(ISFAFD) PARM('++32,255)"
END
EXIT



This program is working and i m able to copy the job logs into a separate dataset. But here i need to specify before hand the 'I' value i.e from which job to which job i need to copy the jcl logs.


This will capture the first 5 jobs in sdsf region(depending upon I value).
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 syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts Don't allow CICS to submit batch jobs prino JCL & VSAM 5 Mon Jul 25, 2016 3:26 pm


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