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

About the GROUPID stmt


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1287
Location: Chennai, India

PostPosted: Tue Jun 17, 2008 3:39 pm
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
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: 771
Location: Germany

PostPosted: Tue Jun 17, 2008 5:29 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Does REXX have the equivalent of a 'C... CLIST & REXX 3
No new posts regarding INSPECT stmt COBOL Programming 2
No new posts 'USERREAD PCB(XXXXXXXX)' control stat... IMS DB/DC 5
No new posts How to send Email to GroupID(To indiv... JCL & VSAM 5
No new posts ‘/*ROUTE XEQ IMSP’ what does ... JCL & VSAM 2
Search our Forums:

Back to Top