View previous topic :: View next topic
|
Author |
Message |
gaullil
New User
Joined: 13 Jan 2009 Posts: 1 Location: india
|
|
|
|
Hi guys,
i have written a cobol program and used 'unstring' and 'delimited' verb to break a decimal quantity as i wanted to use only the value before the decimal. eg:
UNSTRING QUANTITY DELIMITED BY '.' INTO TEMP-C1 TEMP-C2
now i need to incorporate the same changes in an easytrive program...
i am new to easytrieve... please suggest an equivalent verb or function to break the decimal field in two parts- before and after decimal.
thank u in advance |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
One way is to define an array for the input and 2 arrays for the output and create the needed output looping thru the input one character at a time.
I'm not aware of an individual Easytrieve command/functoin that will do this.
The duplicate post has been removed. |
|
Back to top |
|
|
|