You can't TRANS to an I-Desc. [ad] unless you have my ITRANS subroutine.[/ad]
Thanks, David A. Green www.dagconsulting.com (480) 813-1725 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jeff Schasny Sent: Tuesday, July 14, 2009 10:04 AM To: [email protected] Subject: [U2] Trans() to a subroutine I descriptor Is it possible to have an I descriptor which does a TRANS() to an I descriptor in another file which is a subroutine? For some reason mine wont compile. Original I descriptor in file GM.SHF: 01 ED DICT GM.SHF TURNS This is a Type "I" Descriptor last compiled on 07/14/09 at 08:49. 20 lines long. ----: P7 0001: I 0002: SUBR('*CALC.TURNS',@ID) 0003: 0004: TURNS 0005: 7R 0006: S Trans I descriptor in GM.GMF: >ED DICT GM.GMF TURNS This Type "I" Descriptor must be compiled before use. 14 lines long. ----: P7 0001: I 0002: TRANS(GM.SHF,SMF.LINK,TURNS,'X') 0003: 0004: TURNS 0005: 7R 0006: S 0007: When I run a list statement: >LIST GM.GMF TURNS Compiling "TURNS". TRANS ( GM.SHF , ( @ID : .1 ) , TURNS syntax error I-descriptor "TURNS" was not compiled. -- ------------------------------------------------------------------------ Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ------------------------------------------------------------------------ _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
