View previous topic :: View next topic
|
Author |
Message |
geek_mohit
New User
Joined: 19 May 2006 Posts: 23
|
|
|
|
Can you please explain four different ways to pass data to a cobol program? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
READ it from a DD statement.
ACCEPT it from a device.
Pass via the LINKAGE SECTION from an external PARM.
Link to another application via a CALL statement. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
There's a 5th way (maybe more):
Via the VALUE clause in a WORKING-STORAGE data item. |
|
Back to top |
|
|
|