Igor Micev wrote: > Hi All, > > I have a routine that have to be executed from jShell. It is a > 'PROGRAM' type routine, in which is called another 'SUBROUTINE' type > routine which makes some OPFs to some Globus applications. > > When i run the PROGRAM type routine the following error msg is being > shown: > ** Error [ NOT_FILE_VAR ] ** > Variable is not an opened file descriptor , > Var F.PROTOCOL , Line 99 , Source PRO > Trap from an error message, error message name = NOT_FILE > Line 99 , Source PRO > jBASE debugger-> > > If i run the routine via Awaitig prompt (NetTerm), it works, but i > want to run it directly from jShell > PGM.FILES exist for both the routines. > It, or a program it calls probably relies on the pre-initialization of named common variables, which means that the program or something that runs before it, will need to be called first.
Another likely possibility is that you need to run it from a different environment, but the program is poorly written and does this: OPEN "PROTOCOL" TO F.PROTOCOL ELSE NULL .... READ X FROM F.PROTOCOL .... But nobody does things like this, surely? ;-) Jim --~--~---------~--~----~------------~-------~--~----~ Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -~----------~----~----~----~------~----~------~--~---
