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

How to download JES2 JOB LOG?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
White.Bai

New User


Joined: 11 Sep 2016
Posts: 3
Location: China

PostPosted: Thu Sep 29, 2016 7:34 am
Reply with quote

We can find a job's jes2 job log via the sdsf facility in the st panel. If I want to download some log of jobs there, how shoud I do that?

Thank you very much.
Back to top
View user's profile Send private message
Kerry Ropar

New User


Joined: 14 Sep 2016
Posts: 25
Location: Australia

PostPosted: Thu Sep 29, 2016 11:27 am
Reply with quote

White.Bai wrote:
If I want to download some log of jobs there


Just to be clear, do you mean copying to a data set or ftp to your drive or something else?
Back to top
View user's profile Send private message
White.Bai

New User


Joined: 11 Sep 2016
Posts: 3
Location: China

PostPosted: Thu Sep 29, 2016 12:42 pm
Reply with quote

Kerry Ropar wrote:
White.Bai wrote:
If I want to download some log of jobs there


Just to be clear, do you mean copying to a data set or ftp to your drive or something else?

Yes, ftp to somewhere. Or, copy them to a data set in a batch way, there are lots of logs.
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Thu Sep 29, 2016 1:31 pm
Reply with quote

A couple of options springs to mind.
1. The SDSF XDC line command can save a output file to a dataset in one go. The dataset can then be FTPd.
2. Access the log using SDSF SE line command, write an edit macro to pull
the data and send via FTP.
3. Use the SDSF REXX API in a batch job to pull the data. There are good examples in the SDSF manual. As you have a lot of jobs this is probably the way to go.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Sep 29, 2016 1:41 pm
Reply with quote

search the forum for my SDSF REXX snippets
Back to top
View user's profile Send private message
White.Bai

New User


Joined: 11 Sep 2016
Posts: 3
Location: China

PostPosted: Sat Oct 08, 2016 8:07 pm
Reply with quote

enrico-sorichetti wrote:
search the forum for my SDSF REXX snippets

Thank you, would you please send me the link?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Oct 08, 2016 8:15 pm
Reply with quote

would You please search Yourself icon_evil.gif it is not that difficult

click on the search button
enter as search arguments SDSF REXX
click on search for all terms
enter as the author name enrico*
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3053
Location: NYC,USA

PostPosted: Mon Oct 10, 2016 11:03 pm
Reply with quote

White.Bai, Why you overlook Willy Jensen's suggestion.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Oct 10, 2016 11:40 pm
Reply with quote

Quote:
Why you overlook Willy Jensen's suggestion.


the info I posted was related to the third suggestion in Willy list.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3053
Location: NYC,USA

PostPosted: Mon Oct 10, 2016 11:45 pm
Reply with quote

Yeah, That's the point to TS to have research done by himself than you or me doing for it which you already mentioned in the previous of your post and I don't disagree about SDSF REXX.
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 Jes2 command output All Other Mainframe Topics 4
No new posts Fault Analyzer not producing entries ... IBM Tools 19
No new posts Unable to download the JDBC driver to... Java & MQSeries 1
No new posts Need to download ETT details from TWS... IBM Tools 4
No new posts JES2 JEC with JCLs JCL & VSAM 2
Search our Forums:

Back to Top