View previous topic :: View next topic
|
Author |
Message |
wooyoo
New User
Joined: 08 Mar 2006 Posts: 6
|
|
|
|
Hi ,all
I meet an problem about the cobol subprogram calling , if i call an subprogram from a main program ,the sub program can access any file on mainframe? or the sub 's all dates must delivery from main program thought the link section? if the sub can access file directly , how should i write statement in main program or JCL?
Thanks |
|
Back to top |
|
|
thanooz
New User
Joined: 28 Jun 2005 Posts: 99
|
|
|
|
hi wooyoo,
you can do two things,thru the linkage section you can pass all the file parameter from mainprogram to subprogram or you can do with external declaration of file.
Thank's
thanooz. |
|
Back to top |
|
|
wooyoo
New User
Joined: 08 Mar 2006 Posts: 6
|
|
|
|
Hi thanooz
could you please explain the external declaration , or tellme where i can find the detail document about this , in fact , i also want to know how i can access an file on mainframe except the jcl |
|
Back to top |
|
|
thanooz
New User
Joined: 28 Jun 2005 Posts: 99
|
|
Back to top |
|
|
|