Don't know if this helps, but it works for us:

//DB2PRE  EXEC DB2CBLPC,DBRMLIB=hlq.DB2.DBRMLIB,  
//             MEMBER=@,SYSTEM=DB2SYS,SOURCE=NO              
//PC.SYSIN    DD  DSN=hlq.PGMSRC(@),DISP=SHR             
//PC.SYSLIB   DD  DSN=hlq.COPYBOOK,DISP=SHR

EXEC SQL               
     INCLUDE member-name  
END-EXEC.                             

-----Original Message-----
From: william janulin [mailto:[email protected]] 
Sent: Wednesday, June 13, 2012 11:12 AM
To: [email protected]
Subject: DB2 users list

To list;
 
  Is there a DB2 and a COBOL users list? I am running into an issue where the 
DB2 preprocessor in a CICS/COBOL/DB2 program is not picking up copybooks from a 
COPYLIB.
 
Thank you and regards,
 Bill J.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to