View previous topic :: View next topic
|
Author |
Message |
CHANDAN KAPOOR
New User
Joined: 12 Apr 2008 Posts: 36 Location: NOIDA
|
|
|
|
Hi,
I have one query like is there any way to pass parameter to the cobol program other than passing through PARM in jcl and declaring it in Linkage section.
It was asked in interview that is there any other way to pass parameter to program.
Thanks |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
you can always use a DDname which you need to define in the program.
Gerry |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I can't count the number of times I've seen this same question posted. It looks like a trick question, since the actual one answer is supposed to be disregarded. It would really be nice if someday someone would post what the actual expected answer is. |
|
Back to top |
|
|
Succor
New User
Joined: 20 Feb 2009 Posts: 96 Location: Bangalore :)
|
|
|
|
How about In JCL
Code: |
//SYSIN DD *
data for X |
In Prog
....And like files even Db2 Tables can be a source of data.
WTF |
|
Back to top |
|
|
|