MITHARG
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Selection based on part of char field

Go down

Selection based on part of char field Empty Selection based on part of char field

Post  Archana K Sun Jan 27, 2013 2:45 pm

Way to select only data where field A has a 'C' in position 12. The field is a 15A field.
A R RECNAM PFILE(XYZ)*/
A NEWFLD 1A I SST(FIELDA 12 1) /* DECLARE A NEW FLD WITH ONE CHAR LEN */
A K KEYFLD
A S NEWFLD COMP(*EQ 'C') /* USING SELECT/OMIT PROCESS WE CAN DO IT

Archana K

Posts : 76
Join date : 2013-01-27
Age : 32
Location : chennai

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum