View previous topic :: View next topic
|
Author |
Message |
niharika1234
New User
Joined: 01 May 2006 Posts: 9
|
|
|
|
Hi All,
How to call a program with it's copybook in cobol-cics program? What should be the command for this?
Thanks |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
I'm sorry, your question is not clear to me, could you expand on it? |
|
Back to top |
|
|
ashimer
Active Member
Joined: 13 Feb 2004 Posts: 551 Location: Bangalore
|
|
|
|
hi niharika u can use
call [pgm-name] using dfhcommarea data-area (this shud be the highest level defined in the copybook or what all u want to pass to the called pgm ) ....
for eg ur copybook is
03 data-area.
05 name
05 empno
call pgm using dfhcommarea data-area |
|
Back to top |
|
|
ashimer
Active Member
Joined: 13 Feb 2004 Posts: 551 Location: Bangalore
|
|
|
|
use DFHEIBLK instead of DFHCOMMAREA ..sorry for the mistake |
|
Back to top |
|
|
|