Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Route sysout message to jes message

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
rajulan

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Mon Feb 16, 2009 7:16 pm    Post subject: Route sysout message to jes message
Reply with quote

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

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Feb 16, 2009 7:19 pm    Post subject:
Reply with quote

What do you mean by a JES message ?
Back to top
View user's profile Send private message
rajulan

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Tue Feb 17, 2009 10:31 am    Post subject:
Reply with quote

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

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Feb 17, 2009 10:53 am    Post subject:
Reply with quote

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

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Tue Feb 17, 2009 11:07 am    Post subject:
Reply with quote

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

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Feb 17, 2009 11:18 am    Post subject:
Reply with quote

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

Moderator


Joined: 17 Oct 2006
Posts: 2238
Location: @my desk

PostPosted: Tue Feb 17, 2009 11:19 am    Post subject:
Reply with quote

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

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Tue Feb 17, 2009 4:29 pm    Post subject:
Reply with quote

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

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Feb 17, 2009 11:32 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Route a product's job to specific lpar vasanthz All Other Mainframe Topics 9 Thu Mar 02, 2017 2:22 am
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Truncated error message after VERIFY ... David Sde TSO/ISPF 4 Mon Sep 05, 2016 11:26 pm
No new posts IEC999I MESSAGE ERROR Manshadi ABENDS & Debugging 3 Sun Apr 17, 2016 3:43 pm
No new posts Error message from the J2ee converter sivasaras IMS DB/DC 5 Thu Nov 26, 2015 3:20 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us