Hi,

Maybe you can try this:

//DRCPYFC  JOBGROUP                                 
 //DRCPYFC1 GJOB                                     
 //   CONCURRENT NAME=DRCPYFC2                           

 I'm not sure you need two CONCURRENT statement 

Roger W. Suhr

suhr...@gmail.com

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Tom 
Longfellow
Sent: Tuesday, August 16, 2022 16:40
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Simple JOBGROUP or Simple User

My forehead is bruised from beating it against the wall.  I am trying to set up 
a simple JOBGROUP with two simultaneous jobs.  Here is my JCL (excerpted for 
brevity)
 //DRCPYFC  JOBGROUP                                 
 //DRCPYFC1 GJOB                                     
 //   CONCURRENT=DRCPYFC2                            
 //DRCPYFC2 GJOB                                     
 //   CONCURRENT=DRCPYFC1                            
 //DRCPYFC  ENDGROUP                                 
 //* -------------------------------                 
 //DRCPYFC1 JOB (ACCT#),'DR COPY          ',CLASS=A, 
 //             MSGCLASS=X,REGION=800M               
 //         SCHEDULE JOBGROUP=DRCPYFC                
 //*     stuff to do
 //DRCPYFC2 JOB (ACCT#),'DR COPY          ',CLASS=A, 
 //             MSGCLASS=X,REGION=800M               
 //         SCHEDULE JOBGROUP=DRCPYFC    
//*  more stuff to do

Jes is rejecting this masterpiece with: 
        
$HASP100 DRCPYFC  ON INTRDR                            FROM TSU17899    
TECHXXX                                                                 
$HASP1110 DRCPYFC  -- Illegal JOBGROUP card -              card not     
valid within JOBGROUP                                                   
$HASP1110 DRCPYFC  -- Illegal JOBGROUP card -              card not     
valid within JOBGROUP                                                   
IRR010I  USERID TECH905  IS ASSIGNED TO THIS JOB.                       
$HASP1111 DRCPYFC  -- ENDGROUP card - JOBGROUP DRCPYFC  contains errors 

I tweak, I read the manual (many times).   But must be missing something.  It 
did run once, but sequentially - not concurrently.  I added CONCURRENT cards 
and this is where I am.

What funny little JES syntax did I miss?   I modeled this on the sample in the 
book.                                               

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to