View previous topic :: View next topic
|
Author |
Message |
Gajanan Jawalekar
New User
Joined: 30 Jan 2008 Posts: 1 Location: chennai
|
|
|
|
hi,
I want to to write a into VSAM file in subprogram which is already opened in main program. when Iam trying to do so.. it is giving error like file is not opend. is there any way to do the same. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
is there any way to do the same. |
Maybe -- what is the language of the main and subprogram? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
we used to get around this problem before db2 by having one sub module that performed all i/o depending upon function code in the calling parms. this was coded in cobol |
|
Back to top |
|
|
|