There's no such wildcarding in Suprtool. Try
DEF USERID1,USER-ID[1],1,BYTE
DEF USERID2,USER-ID[2],1,BYTE
DEF USERID3,USER-ID[3],1,BYTE
DEF USERID4,USER-ID[4],1,BYTE
DEF USERID1-4 USER-ID,4,BYTE
DEF USERIDREST USER-ID[5],real-length-minus-4,BYTE
IF USERIDREST = " "
AND USERID1 >= '0' #or whatever your lower limit for "characters and
numbers" is,
AND USERID1 <= 'z'
et cetera
> -----Original Message-----
> From: Larry Barnes [mailto:[log in to unmask]]
> Sent: Thursday, December 30, 2004 11:46 AM
> To: [log in to unmask]
> Subject: suprtool
>
>
> First off, I hope everyone has a safe and enjoyable New Year!!!
> =20
> =20
> Now, I'm trying to understand the suprtool manual. I'm trying to
> extract all records where the user-id length is only 4
> characters/numbers in size and I'm not having any luck. If I extract
> the entire data set I can see there are records that meet this
> requirement.
> =20
> here's what I've been testing:
> =20
> IF user-id =3D=3D "????"
>
> IF user-id =3D=3D "@@@@"
>
> What am I missing?
> =20
> =20
> Thanks for your help,
> =20
> =20
> Larry Barnes
>
> * 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 *
|