murphy@hao.ucar.edu (Graham Murphy) (02/02/90)
Desire: Routine A is invoked with >1 attached documents. This routine then _Launches Routine B which can examine the same documents. Reality: Routine A is invoked and GetAppParms shows the attached documents with valid names and valid working directory numbers. However, when Routine B starts up ONLY the first document has a valid WDRefNum. Notes: Working directories associated with Routine A are closed following the completion of this routine (standard MF procedure). Thus the working directories corresponding to documents 1 to N are closed. Somehow (!) the first document receives a NEW working directory (i.e. a new WDRefNum is allocated). The remaining documents do not - their invalid WDRefNums are retained. Question: ANY working directories I open up in Routine A get closed and disk directory numbers are generally not suitable, so how does one pass more than one document to a Launched routine? Graham Murphy High Altitude Observatory National Center for Atmospheric Research P.O. Box 3000, Boulder CO 80307-3000. Ph:(303)497-1565; Fax:(303)497-1137. INTERNET: murphy@hao.UCAR.EDU; Solar PO: gmurphy@solar.STANFORD.EDU