MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with the EXternal File read in the 2 level call

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
mainframemouli
Beginner


Joined: 23 Feb 2005
Posts: 87
Topics: 33

PostPosted: Mon Oct 16, 2006 3:23 am    Post subject: Problem with the EXternal File read in the 2 level call Reply with quote

I have a program A(main program)
File is declared in the A(mainprogram) as External.

A is calling B ( the call is Static)

B is calling C ( the call is Dynamic )

Now i am trying to access the External file in the Program 'C'. I am getting a file status as '47'.
(ie)47- Trying to read a file thats not been opened.


Even i made the call like A to B - Static call
B to C - static call

still the problem exists what might be the reason where i am failing ???
Back to top
View user's profile Send private message
mainframemouli
Beginner


Joined: 23 Feb 2005
Posts: 87
Topics: 33

PostPosted: Mon Oct 16, 2006 3:25 am    Post subject: Reply with quote

In the program 'C' also the file is declared EXTERNAL in the FD.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group