hi, OPF is an API which you can use only inside the T24. As jim said this OPF or F.READ that you are using needs some variables to intilzed (like your company mnemonic in this case)which will get intilzed only if you login in to T24.So Use jbase "OPEN" and "READ" statement , your problem will be solved.
Regards, Saravanan. On Mon, Apr 6, 2009 at 7:39 PM, Gayathri Ramakrishnan <[email protected] > wrote: > When ever you open a new session login into T24 and then try to run your > program from jshell prompt. > > 2009/4/6 Igor Micev <[email protected]> > >> >> 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. >> >> Any idea? >> >> Regards >> Igor >> >> > > > -- > Regards > Gayathri > > > > > -- Regards, saravanan.T --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
