View previous topic :: View next topic
|
Author |
Message |
Digvijay Singh
Active User
Joined: 20 Apr 2022 Posts: 148 Location: India
|
|
|
|
Hi All,
Hope all doing good!
My requirement is i have a job which is available in Savers and i want to collect the job logs of the job in a dataset and want to FTP it to other external system. At present i am not looking for FTP part right now i want to collect the logs see below logs:
[
Code: |
code] E1234007 (J0009500) -------- $AVRS FILE SELECTION ----------------- ROW 1 OF 7
COMMAND ===> SCROLL ===> CUR
F=BRS,P=PRT,D=DEL,O=OUT,E=EDT #LINES TOTAL 5312
SEL# ACT FILE C FORMS-ID FCB UCS DESTID STEP PROCSTEP LINES
_ 1 JESLOG S STD LOCAL JES2 436
_ 2 JCL S STD LOCAL JES2 2176
_ 3 SYSMSG S STD LOCAL JES2 2636
_ 4 SUMMARY S STD LOCAL PACKEXEC 15
_ 5 F DETAIL S STD LOCAL PACKEXEC 15
_ 6 F NDVRRPT S STD LOCAL PACKEXEC 32
_ 7 SYSTSPRT S STD LOCAL PACKEXEC 2
******************************** END OF DATA ********************************** |
I want to extract the 5.Detail and 6.Ndvrrpt into a data set , how i can achieve this ?
Note : Job is not available in spool and this is a part of automation task so need to think in that way.
Thank you in advance.
[/code] |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1337 Location: Bamberg, Germany
|
|
|
|
Have you STFW? There are some examples and links that might be helpful. |
|
Back to top |
|
|
Digvijay Singh
Active User
Joined: 20 Apr 2022 Posts: 148 Location: India
|
|
|
|
I have done , but i didn't see any of them meeting my requirement . They are telling to manually go to savers and collect give option O in front of DD names and then collect it in a dataset but i dnt want that.
i want to have a step which should call some utility if we have and collect the logs in a file. i tried with $AVRDBRP but not getting the desired output. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Contact the vendor for help. They know the product much better than anyone on this forum, and if your company pays maintenance then you are entitled to support. |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
Look in the vendor manual for a program calle $AVRPULL |
|
Back to top |
|
|
Digvijay Singh
Active User
Joined: 20 Apr 2022 Posts: 148 Location: India
|
|
|
|
How to see vendor manual ? Is it available online any links?
Thnaks |
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 420 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
|
|
seasoft.com |
|
Back to top |
|
|
Digvijay Singh
Active User
Joined: 20 Apr 2022 Posts: 148 Location: India
|
|
|
|
Thanks i guess, i found my way to solve the problem.
What i did :
I routed my DETAIL DD to A DSN and then, FTP it to desire destination.
Code: |
//DETAIL DD DSN=ALT0.&ENV..DTL.T&TIRID,
// SPACE=(CYL,(15,5),RLSE),
// DISP=(NEW,CATLG,CATLG),UNIT=SYSDA,
// DCB=(LRECL=133,RECFM=FB,BLKSIZE=0)
//NDVRRPT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY |
|
|
Back to top |
|
|
|