Re: [U2] A Descriptors and its Subroutine Issue

2014-01-31 Thread randyleesmith
Wow lots of good stuff here. I will look into all of this. I used what I did ONLY because I was mimicking another A type record because I didn't know exactly how to use it. Thanks - I used to be an Optimist until I knocked over the glass. -- View this message in context:

Re: [U2] A Descriptors and its Subroutine Issue

2014-01-31 Thread Ed Clark
On Jan 30, 2014, at 5:44 PM, Kate Stanton k...@walstan.com wrote: Thankyou Ed! We did not know you could call a program from a S-type dictionary! How long has it been there? I first used universe 21 years ago and the user exit support was in there then. I imagine that it was in there from

Re: [U2] A Descriptors and its Subroutine Issue

2014-01-31 Thread Wjhonson
, Jan 31, 2014 5:36 am Subject: Re: [U2] A Descriptors and its Subroutine Issue On Jan 30, 2014, at 5:44 PM, Kate Stanton k...@walstan.com wrote: Thankyou Ed! We did not know you could call a program from a S-type dictionary! How long has it been there? I first used universe 21 years ago

[U2] A Descriptors and its Subroutine Issue

2014-01-30 Thread randyleesmith
I'm not use to making these. I based what I was doing on another A type which also called a Subroutine. My A Type record; SB.SVCED DICT ADFILA RNS.CB.MAS 10 lines long. : 0001: A : 0002: 0 : 0003: Reason Not To Be Sent : 0004: M : 0005: : 0006: : 0007: : 0008:

Re: [U2] A Descriptors and its Subroutine Issue

2014-01-30 Thread Robert
Did you compile the program before cataloging it? What command did you use to catalog it? I always like to take a look at the output from the CATALOG command to verify it was done properly. Robert Norman ROBERT NORMAN AND ASSOCIATES 23441 Golden Springs Dr., #289, Diamond Bar, CA 91765

Re: [U2] A Descriptors and its Subroutine Issue

2014-01-30 Thread Wjhonson
] A Descriptors and its Subroutine Issue Did you compile the program before cataloging it? What command did you use to catalog it? I always like to take a look at the output from the CATALOG command to verify it was done properly. Robert Norman ROBERT NORMAN AND ASSOCIATES 23441 Golden Springs Dr

Re: [U2] A Descriptors and its Subroutine Issue

2014-01-30 Thread Ed Clark
Curious why you are doing this as a user exit? iirc, there are differences between using an A and an Itype. In an itype, the subroutine is called just once for each item in the file. With an A-type, the subroutine is going to be called once for each value/subvalue in the attribute referenced by

Re: [U2] A Descriptors and its Subroutine Issue

2014-01-30 Thread Kate Stanton
Thankyou Ed! We did not know you could call a program from a S-type dictionary! How long has it been there? We went through months of work to be able to use I-types to be able to call subroutines, and to get accurate arithmetic. Test shows arithmetic has been fixed. We talked to U2 people