Is there the ID of GM.SHF in GM.GMF file? If so then you could used:
>ED DICT GM.GMF TURNS
This Type "I" Descriptor must be compiled before use.
14 lines long.
----: P7
0001: I
0002: SUBR('*CALC.TURNS',GMF.SHF.ID)
0003:
0004: TURNS
0005: 7R
0006: S
0007:
Also, stated in another reply, you cannot TRANS to and IDESC, only to a
data element.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jeff Schasny
Sent: Tuesday, July 14, 2009 1:04 PM
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