RE: [U2] Program Object arguments

2004-09-02 Thread Adrian Matthews
Not sure what you're running but on Universe you could use VLIST or do
MAKE.MAP.FILE and then look at field 12 of MAP for your catalogued
subroutine.

Don't know of a way to do it real-time as such. Presumably you want to
stop program A failing when calling program B with incorrect argument?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greesh
Sent: 02 September 2004 11:55
To: [EMAIL PROTECTED]
Subject: [U2] Program Object arguments

Hi all

If an in-correct number of arguments are used when calling a routine a
run-time error occurs, however does anyone know of a way to retrieve the
number of arguments that are required by a program/subroutine from its
object code?

Thanks  Regards,

 
Greesh Dhir
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


The information contained in this email is strictly confidential and for the use of 
the addressee only, unless otherwise indicated. If you are not the intended recipient, 
please do not read, copy, use or disclose to others this message or any attachment. 
Please also notify the sender by replying to this email or by telephone +44 (0)20 7896 
0011 and then delete the email and any copies of it. Opinions, conclusions (etc.) that 
do not relate to the official business of this company shall be understood as neither 
given nor endorsed by it.  IG Markets Limited and IG Index Plc are authorised and 
regulated by the Financial Services Authority and, in Australia, by the Australian 
Securities and Investments Commission.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Program Object arguments

2004-09-02 Thread Gyle Iverson
From: Adrian Matthews
Don't know of a way to do it real-time as such. 

IBM provides the EXIST subroutine in the APP.PROGS directory for such. 

Best regards,
Gyle
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/