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

How to collect Job logs from $savers


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Digvijay Singh

Active User


Joined: 20 Apr 2022
Posts: 141
Location: India

PostPosted: Tue Apr 26, 2022 10:12 pm
Reply with quote

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
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1255
Location: Bamberg, Germany

PostPosted: Tue Apr 26, 2022 10:22 pm
Reply with quote

Have you STFW? There are some examples and links that might be helpful.
Back to top
View user's profile Send private message
Digvijay Singh

Active User


Joined: 20 Apr 2022
Posts: 141
Location: India

PostPosted: Tue Apr 26, 2022 10:49 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Apr 27, 2022 12:08 am
Reply with quote

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
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Thu Apr 28, 2022 12:57 am
Reply with quote

Look in the vendor manual for a program calle $AVRPULL
Back to top
View user's profile Send private message
Digvijay Singh

Active User


Joined: 20 Apr 2022
Posts: 141
Location: India

PostPosted: Thu Apr 28, 2022 10:12 am
Reply with quote

How to see vendor manual ? Is it available online any links?

Thnaks
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 420
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Thu Apr 28, 2022 5:48 pm
Reply with quote

seasoft.com
Back to top
View user's profile Send private message
Digvijay Singh

Active User


Joined: 20 Apr 2022
Posts: 141
Location: India

PostPosted: Fri Apr 29, 2022 3:07 pm
Reply with quote

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
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts To capture the job from savers CLIST & REXX 4
No new posts Capturing logs from spool dd JCL & VSAM 6
No new posts Rexx with Savers or $avers? CLIST & REXX 3
No new posts Copying Db2 BSDS and logs to another ... JCL & VSAM 11
No new posts 24x7 online logs using DSN1LOGP (simi... DB2 3
Search our Forums:

Back to Top