Hi ,
Suppose main pgm A calls sub pgm B.
Main pgm A opens a file and calls B , which inturn writes into file and returns control to A.
Should we declare the file both in pgm A and pgm B or is it enough if we declare it in A alone?
If so why? Please guide.
Thanks
Uday