View previous topic :: View next topic |
Author |
Message |
asr2 Beginner
Joined: 25 Jun 2011 Posts: 26 Topics: 4 Location: Germany
|
Posted: Tue Jul 26, 2011 4:11 am Post subject: Accessing a SYSOUT file without SDSF |
|
|
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 |
|
|
expat Intermediate
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Tue Jul 26, 2011 4:59 am Post subject: |
|
|
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 |
|
|
asr2 Beginner
Joined: 25 Jun 2011 Posts: 26 Topics: 4 Location: Germany
|
Posted: Tue Jul 26, 2011 6:46 am Post subject: |
|
|
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 |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Tue Jul 26, 2011 9:48 am Post subject: |
|
|
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 |
|
|
papadi Supermod
Joined: 20 Oct 2009 Posts: 594 Topics: 1
|
Posted: Tue Jul 26, 2011 1:41 pm Post subject: |
|
|
Quote: |
SDSF is an "overkill" for most application programmers. |
Opinions vary. . . _________________ All the best,
di |
|
Back to top |
|
|
Anuj Dhawan Intermediate
Joined: 19 Jul 2007 Posts: 298 Topics: 7 Location: Mumbai,India
|
Posted: Sat Jul 30, 2011 11:44 am Post subject: |
|
|
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 |
|
|
asr2 Beginner
Joined: 25 Jun 2011 Posts: 26 Topics: 4 Location: Germany
|
Posted: Sat Jul 30, 2011 11:44 pm Post subject: |
|
|
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 |
|
|
asr2 Beginner
Joined: 25 Jun 2011 Posts: 26 Topics: 4 Location: Germany
|
Posted: Sun Aug 14, 2011 7:46 am Post subject: |
|
|
While I was looking for a solution for a different problem, I found the solution for 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 |
|
|
warp5 Intermediate
Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Mon Aug 15, 2011 1:46 am Post subject: |
|
|
asr2, please post more information, this might be of interest for many people. |
|
Back to top |
|
|
Anuj Dhawan Intermediate
Joined: 19 Jul 2007 Posts: 298 Topics: 7 Location: Mumbai,India
|
Posted: Mon Aug 15, 2011 8:04 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
asr2 Beginner
Joined: 25 Jun 2011 Posts: 26 Topics: 4 Location: Germany
|
Posted: Mon Aug 15, 2011 11:24 pm Post subject: |
|
|
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 |
|
|
Anuj Dhawan Intermediate
Joined: 19 Jul 2007 Posts: 298 Topics: 7 Location: Mumbai,India
|
Posted: Wed Aug 17, 2011 5:56 am Post subject: |
|
|
Thanks Kolusu and Tony.
Have a good one, _________________ Regards,
Anuj |
|
Back to top |
|
|
asr2 Beginner
Joined: 25 Jun 2011 Posts: 26 Topics: 4 Location: Germany
|
Posted: Mon Aug 22, 2011 10:41 am Post subject: |
|
|
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 |
|
|
nevilh Beginner
Joined: 11 Aug 2004 Posts: 115 Topics: 0
|
Posted: Mon Aug 22, 2011 12:16 pm Post subject: |
|
|
Have you tried taking a look at the JES2 SAPI (SSI) this should provide you with what you want |
|
Back to top |
|
|
|
|