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

/*ouput CAn it be coded to effect all sysout.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mark loftus

New User


Joined: 21 Jun 2006
Posts: 9

PostPosted: Mon Aug 03, 2009 3:28 pm
Reply with quote

Is it possible to code the /*output statment so that it effects all SYSOUT in the job, without having to amend the sysout statments themselves?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Aug 03, 2009 3:41 pm
Reply with quote

What does it say about DEFAULT in the manual, what happened when you tried it.
Back to top
View user's profile Send private message
mark loftus

New User


Joined: 21 Jun 2006
Posts: 9

PostPosted: Mon Aug 03, 2009 3:50 pm
Reply with quote

All i can see in the manuals is

/*OUTPUT code parameter[,parameter]...

code
Identifies the /*OUTPUT statement. The code is 1 through 4 alphanumeric characters. To refer to a /*OUTPUT statement, the DD statement SYSOUT parameter must specify this code in its code-name subparameter. The referenced /*OUTPUT statement specifies processing options for the sysout data set defined in the referencing DD statement.
A code of * indicates that this /*OUTPUT statement is a continuation of the previous /*OUTPUT statement.

This seems to indicate that you have to point each sysout statment back to the output statment.
My problem is im converting several thousand JCL members from JES3 to JES2 and want to do a like for like replacement of the JES3 //*Format card with the /*output card.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Aug 03, 2009 3:58 pm
Reply with quote

Are we talking
/* JES2 OUTPUT or
//name OUTPUT statement here.
Back to top
View user's profile Send private message
mark loftus

New User


Joined: 21 Jun 2006
Posts: 9

PostPosted: Mon Aug 03, 2009 4:11 pm
Reply with quote

JES2 /*output
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Aug 03, 2009 4:20 pm
Reply with quote

To be honest, I've not played with these for more years than I care to remember, but would guess that if the JES parameters are the same as they are on JES3 it should work just by changing the //* to /*

a) Can you try it and see what happens.
b) One of our sysprogs normally rises around this time, and he will probably offer you a lot more help than I can.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Aug 03, 2009 4:57 pm
Reply with quote

I haven't done anything with JES2 in more years than I care to remember. However, the JCL Language Reference manual (link at the top of the page) explicitly recommends using the OUTPUT statement instead of /*OUTPUT due to increased flexibility. And the OUTPUT statement in the manual specifically states that using DEFAULT=YES allows implicit reference to the OUTPUT statement by SYSOUT statements.
Back to top
View user's profile Send private message
mark loftus

New User


Joined: 21 Jun 2006
Posts: 9

PostPosted: Wed Aug 05, 2009 6:02 pm
Reply with quote

Thanks, that works a treat. icon_biggrin.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Aug 05, 2009 6:06 pm
Reply with quote

Great! Glad to hear it's working.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Aug 05, 2009 6:08 pm
Reply with quote

Another satiisfied customer icon_biggrin.gif , and thank's for letting us know it went well.
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 InfoSphere OPTIM CSV ouput vs DSNTIUA... IBM Tools 3
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
No new posts Can EATTR be coded in an IMS COBOL pgm? IMS DB/DC 1
No new posts Copy few lines from SYSOUT of 10 mill... All Other Mainframe Topics 5
No new posts No sysout coming in spool JCL & VSAM 4
Search our Forums:

Back to Top