View previous topic :: View next topic
|
Author |
Message |
t1nt1n
New User
Joined: 08 Jul 2005 Posts: 31
|
|
|
|
Hello
We generally pass values from JCL to COBOL program thru either PARM or SYSIN card. If we pass through PARM, we receive thru LINKAGE section. How do we receive DATA in a COBOL program if we send thru' SYSIN card.
Also, for COBOL-DB2 program, we send it thru PARMS("values") in the SYSTSIN card using PGM=IKJEFT01. In this case we can receive through Linkage section am i corect in saying this ?
Thanks in advance.
Cheers
T1nT1n |
|
Back to top |
|
|
notonly4u
New User
Joined: 26 Apr 2005 Posts: 87 Location: Hyderabad
|
|
|
|
HI Tintin,
If you are passing through SYSIN, You have to receive in the Cobol Program through ACCEPT statements.
Regards
Tanden |
|
Back to top |
|
|
shobam
New User
Joined: 18 Jul 2005 Posts: 34 Location: CN
|
|
|
|
Quote: |
PARMS("values") in the SYSTSIN card using PGM=IKJEFT01 |
Yes , we have to define a linkage section to receive the PARMS. |
|
Back to top |
|
|
t1nt1n
New User
Joined: 08 Jul 2005 Posts: 31
|
|
|
|
Thanks Notonly4u & Shobam. |
|
Back to top |
|
|
|