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
 

 

About the GROUPID stmt

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

New User


Joined: 27 Nov 2007
Posts: 14
Location: China

PostPosted: Tue Jun 17, 2008 2:14 pm    Post subject: About the GROUPID stmt
Reply with quote

Hi all,

I found some JCL specifies the GROUPID in the beginning of job
like
//PRT1 OUTPUT GROUPID=xxx
//PRT2 OUTPUT GROUPID=yyy
//PRT3 OUTPUT GROUPID=zzz
//step1
...
//step2
...

I wonder how the mainframe allocates the sysout datasets? Does it make sense we code the GROUPID stmt?
Back to top
View user's profile Send private message

Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Tue Jun 17, 2008 3:39 pm    Post subject: Reply to: About the GROUPID stmt
Reply with quote

Furion,

Check the JCL manual available in this forum for the explanations.
Back to top
View user's profile Send private message
Furion

New User


Joined: 27 Nov 2007
Posts: 14
Location: China

PostPosted: Tue Jun 17, 2008 3:46 pm    Post subject:
Reply with quote

I have referred the manual. But I dont know if we code the GROUPID stmt together at the beginning how the system decide the group allocation....
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 743
Location: Germany

PostPosted: Tue Jun 17, 2008 5:29 pm    Post subject:
Reply with quote

Hi !

The GROUPID keyword parameter can be coded on the OUTPUT JCL statement to manually group sysout datasets. In the following example the sysout dataset associated with DD1 will print out under a separate job header whereas the two sysout datasets associated with DD2 and DD3 will print out under the same header:

//OUT1 OUTPUT GROUPID=group1
//OUT2 OUTPUT GROUPID=group2
//S1 EXEC ...
//DD1 DD SYSOUT=A,OUTPUT=*.OUT1
//DD2 DD SYSOUT=A,OUTPUT=*.OUT2
//DD3 DD SYSOUT=A,OUTPUT=*.OUT2...


JES2 will automatically group sysout datasets with similar characteristics (output class, destination, process mode, and external writer name) into output groups. Datasets in an output group are processed together at the same location and time.
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 Does REXX have the equivalent of a 'C... trlowe CLIST & REXX 3 Tue Jun 07, 2011 9:37 pm
No new posts regarding INSPECT stmt kalyan_lc5 COBOL Programming 2 Tue May 25, 2010 7:24 pm
No new posts 'USERREAD PCB(XXXXXXXX)' control stat... Ajay Baghel IMS DB/DC 5 Fri Feb 19, 2010 6:07 pm
No new posts How to send Email to GroupID(To indiv... Robert Sample JCL & VSAM 5 Tue Jun 23, 2009 11:39 am
No new posts ‘/*ROUTE XEQ IMSP’ what does ... sundarkudos JCL & VSAM 2 Fri Jun 12, 2009 1:49 pm


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