Jay, you need to use the INTEGER or DOUBLE parm of the DEFINE command. FYI,
you need to remove the quotes from the literal in your IF statement once
you've defined COMPKEY as an integer.
HTH
Ray Shahan
"Life is what happens while you're busy making plans", John Lennon
> -----Original Message-----
> From: Jay Chandru [SMTP:[log in to unmask]]
> Sent: Friday, July 05, 2002 7:09 AM
> To: [log in to unmask]
> Subject: SUPRTOOL Help on COMP Variable
>
> Hi All,
>
> I have to extract a record from SUPRTOOL based on a key field and the
> field
> is a COMP field.
>
> The issue I am facing is that, I am not able to define that field inside
> the
> SUPRTOOL.
>
> RUN SUPRTOOL.PUB.ROBELLE
> >INPUT KSAMFILE.GROUP
> >DEFINE COMPKEY 3,6,****
> >IF COMPKEY = "1234"
> >EXTRACT
> ....
>
> What is the value for **** that we should provide to extract the
> particular
> record
>
> Thanx,
> -Jay
>
>
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|