MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Accessing a SYSOUT file without SDSF
Goto page 1, 2  Next
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination
View previous topic :: View next topic  
Author Message
asr2
Beginner


Joined: 25 Jun 2011
Posts: 26
Topics: 4
Location: Germany

PostPosted: Tue Jul 26, 2011 4:11 am    Post subject: Accessing a SYSOUT file without SDSF Reply with quote

Is there any easy way of obtaining a SYSOUT file without using SDSF?
My problem: I need to analyze the content of a SYSOUT file for the current job (this is related to my previous question concerning the step completion code - after determining, for example, that a step failed, I need to find the reason). The DSNAME provided in the SCT is not valid (the last qualifier is ?).
The solutions I have considered are not very satisfactory:
1. Rather than using SYSOUT, I can write the output to a file.
2. I can use TSO OUTPUT to write the complete output to a file.
3. I could possibly use special output classes for such SYSOUTs, but I do not necessarily know what classes are available.

Have I overlooked some obvious solution? I do not have SDSF available.
Back to top
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Tue Jul 26, 2011 4:59 am    Post subject: Reply with quote

Surely another product which does the same as SDSF
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
asr2
Beginner


Joined: 25 Jun 2011
Posts: 26
Topics: 4
Location: Germany

PostPosted: Tue Jul 26, 2011 6:46 am    Post subject: Reply with quote

That would be too easy and the fourth solution that I did not mention. I actually would like a native z/OS solution that is not dependent on any other (third-party) product. SDSF is an "overkill" for most application programmers.
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Tue Jul 26, 2011 9:48 am    Post subject: Reply with quote

If you review the description of the TSO SUBMIT command in the manual, they have this little tidbit of information:

Quote:

SUBMIT is a foreground-initiated-background (FIB) command. You must be authorized by installation management to use SUBMIT. This command is generally used in conjunction with the CANCEL, STATUS, and OUTPUT commands.


so hopefully that answers your question.
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Tue Jul 26, 2011 1:41 pm    Post subject: Reply with quote

Quote:

SDSF is an "overkill" for most application programmers.


Opinions vary. . . Wink
_________________
All the best,

di
Back to top
View user's profile Send private message
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Sat Jul 30, 2011 11:44 am    Post subject: Reply with quote

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.
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
asr2
Beginner


Joined: 25 Jun 2011
Posts: 26
Topics: 4
Location: Germany

PostPosted: Sat Jul 30, 2011 11:44 pm    Post subject: Reply with quote

Anuj

Thanks. SDSFEXT is actually very similar to a procedure that I developed for RDz. But, judging by name, SDSF Extract, requires the availability of SDSF. Fortunately, the most important JES files (JESMSGLG, JESJCL, ...) are available without SDSF.

Regards
Tony
Back to top
View user's profile Send private message
asr2
Beginner


Joined: 25 Jun 2011
Posts: 26
Topics: 4
Location: Germany

PostPosted: Sun Aug 14, 2011 7:46 am    Post subject: Reply with quote

While I was looking for a solution for a different problem, I found the solution for Idea this problem, namely, with the JEST Spool Data set Browser, described, more or less, in the JES Application Programming manual. Implementing the solution was not helped by lack of documentation, for example, the DALUASSR text unit was not described in the MVS Programming: Authorized Assembler Services Guide for z/OS 1.11.

Tony
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Mon Aug 15, 2011 1:46 am    Post subject: Reply with quote

asr2, please post more information, this might be of interest for many people.
Back to top
View user's profile Send private message Visit poster's website
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Mon Aug 15, 2011 8:04 am    Post subject: Reply with quote

warp5 wrote:
asr2, please post more information, this might be of interest for many people.
Yes, I agree - please do so.
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Mon Aug 15, 2011 10:26 am    Post subject: Reply with quote

warp5, Anuj Dhawan,


I think asr2 is talking about spool browse in JES3 . If you are a JES3 user then may be the following links will help you understand it better.

JES3 Spool Browse

JES Spool Data Set Browse from Application programming guide

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
asr2
Beginner


Joined: 25 Jun 2011
Posts: 26
Topics: 4
Location: Germany

PostPosted: Mon Aug 15, 2011 11:24 pm    Post subject: Reply with quote

I am running on a JES2 system. The second link does provide the basic data which together with the MVS Authorized Assembler System Services for z/OS 1.12 (Dynamic Allocation) suffices to browse a spool file.

Tony
Back to top
View user's profile Send private message
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Wed Aug 17, 2011 5:56 am    Post subject: Reply with quote

Thanks Kolusu and Tony.

Have a good one,
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
asr2
Beginner


Joined: 25 Jun 2011
Posts: 26
Topics: 4
Location: Germany

PostPosted: Mon Aug 22, 2011 10:41 am    Post subject: Reply with quote

The solution I described is only half a solution, because the described technique can only be used for the current job. What I also need is a simple JES navigation; list the held jobs, select a job, and then select a DDname. I looked at the code for QUEUE, which does this but a lot more besides and so it is difficult to determine what I actually need for my task.

The only documentation I can find for JES programming describes EXITs, customisation, etc., but not my task. Have I overlooked something?

Regards
Tony
Back to top
View user's profile Send private message
nevilh
Beginner


Joined: 11 Aug 2004
Posts: 115
Topics: 0

PostPosted: Mon Aug 22, 2011 12:16 pm    Post subject: Reply with quote

Have you tried taking a look at the JES2 SAPI (SSI) this should provide you with what you want
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group