View previous topic :: View next topic
|
Author |
Message |
rajulan
New User
Joined: 11 Jan 2008 Posts: 66 Location: India
|
|
|
|
Hi All,
Normally we get output in spool(sysout). But i want that message to be routed to jes message. Is it possible? If yes, How?
Thanks,
Rajulan. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What do you mean by a JES message ? |
|
Back to top |
|
|
rajulan
New User
Joined: 11 Jan 2008 Posts: 66 Location: India
|
|
|
|
NP DDNAME StepName ProcStep DSID Owner C Dest Rec-Cnt Page
JESMSGLG JES2 2 OZA058 A LOCAL 22
JESJCL JES2 3 OZA058 A LOCAL 35
JESYSMSG JES2 4 OZA058 A LOCAL 96
SYSPRINT STEP1 COMPILE 101 OZA058 A LOCAL 475
SYSPRINT STEP1 LKED 102 OZA058 A LOCAL 185
Thanks,
Rajulan. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
The first 3 sysout datasets are written by jes - for those specific sets of info.
What do you want to accomplish? It is possible to combine the content of one (or all 3 jes) dataset along with some of the user created sysouts in a dataset.
Once gathered as you want, how will this be used? |
|
Back to top |
|
|
rajulan
New User
Joined: 11 Jan 2008 Posts: 66 Location: India
|
|
|
|
Quote: |
It is possible to combine the content of one (or all 3 jes) dataset along with some of the user created sysouts in a dataset.
|
Is it Possible? If yes, How?
Quote: |
Once gathered as you want, how will this be used?
|
My colleague told me it is possible. But he does not know how it is possible. So I am here for help.
Thanks,
Rajulan. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you are online, looking at the output via sdsf, you can use XDC to print queued output to a dasd file. There are multiple topics that mention xdc in the forum. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Rajulan,
Are you trying to route the DISPLAY outputs issued by a COBOL program to the JESYSMSG? My previous shop had some Assembler code to achieve the same. |
|
Back to top |
|
|
rajulan
New User
Joined: 11 Jan 2008 Posts: 66 Location: India
|
|
|
|
To Dick,
JESMSGLG JES2
JESJCL JES2
JESYSMSG JES2
XDC SYSOUT STEP1
I issued like above. I got the below screen.
Code: |
SDSF Open Print Data Set
COMMAND INPUT ===> SCROLL ===> HALF
Data set name ===>
Member to use ===>
Disposition ===> (OLD, NEW, SHR, MOD)
If the data set is to be created, specify the following.
Volume serial will be used to locate existing data sets if specified.
Management class ===> (Blank for default management class)
Storage class ===> (Blank for default storage class)
Volume serial ===> (Blank for authorized default volume)
Device type ===> (Generic unit or device address)
Data class ===> (Blank for default data class)
Space units ===> BLKS (BLKS, TRKS, CYLS, BY, KB, or MB)
Primary quantity ===> 500 (In above units)
Secondary quantity ===> 500 (In above units)
Directory blocks ===> (Zero for sequential data set)
Record format ===> VBA
Record length ===> 240
F1=HELP F2=SPLIT F3=END F4=RETURN F5=IFIND F6=BOOK
F7=UP F8=DOWN F9=SWAP F10=LEFT F11=RIGHT F12=RETRIEVE |
Is this helpful to print the sysout?
To arcvns,
Quote: |
Are you trying to route the DISPLAY outputs issued by a COBOL program to the JESYSMSG? |
Yes. Now i got the answer too.
The answer is
In the cobol program, we have to code like below in display statement.
Code: |
Display 'Ibm Mainframe Forum' upon console |
Finally display message went to JESMSGLG
Assembler i do not have any idea. Anyhow now i came to know that it can be done by Assembler as well
Thanks,
Rajulan. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Display 'Ibm Mainframe Forum' upon console |
Suggest you get confirmation that this is acceptable in your organization (not just from your manager, but the people responsible for the data center). Most organizations will not allow application programs to write to the console. . .
Just because the compiler will allow this does not mean it is acceptable by the system management. |
|
Back to top |
|
|
|