Trying to run the command

SORT FILE WITH ACTION-CODE = "NAG" BY WEB-IND BREAK-ON WEB-IND TOTAL
CRED.AMT TOTAL COUNT DET.SUPP ID.SUPP

via a vb6 program using Uniobjects.

 objCommand.Text = "SORT DTA WITH ACTION-CODE = 'NAG' BY WEB-IND
BREAK-ON WEB-IND TOTAL CRED.AMT TOTAL COUNT DET.SUPP ID.SUPP"
 objCommand.Exec

The program returns immediately with CommandStatus = 0
Error = 0 and response

DET.SUPP is not a valid attribute.

Any ideas? This works perfectly from the udt prompt.

Thanks

Nick

This correspondence is confidential and is solely for the intended
recipient(s). If you are not the intended recipient, you must not use,
disclose, copy, distribute or retain this message or any part of it. If you
are not the intended recipient please delete this correspondence from your
system and notify the sender immediately. 

No warranty is given that this correspondence is free from any virus.  In
keeping with good computer practice, you should ensure that it is actually
virus free. E-mail messages may be subject to delays, non-delivery and
unauthorised alterations therefore, information expressed in this message is
not given or endorsed by Open and Direct Group Limited unless otherwise
notified by our duly authorised representative independent of this message.

Open and Direct Group Limited is a limited company registered in United
Kingdom under number 4390810 whose registered office is at 10 Norwich 
Street, London, EC4A 1BD

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to