I don't know any function. But I know work around
Try this:
EX:
DATANAME-LEFT PIC X(30).
DATA-LENGTH PIC 9(3).
DATANAME-RIGHT PIC X(30).
MOVE LENGTH OF DATANAME-LEFT TO DATA-LENGTH.
SUBTRACT DATANAME-LENGTH FROM 30 GIVING DATA-START.
MOVE DATANAME-LEFT TO...
Hi,
When I use Unstring I able to get 1 Yrs 11 for months, how i can extract 11 from there.
Ex: Test unstring of: 1 Yrs 11 Months 3 Days 1 Rightmost digits(if any) are years 1 Yrs 11 Rightmost digits(if any) are months 1...
Hi,
I have free form field, i want to parse one field into 3 differant Numeric fields Numeric
Ex: 19Yrs20Months44Days
Yrs : 19
Months: 20
Days: 44
Thanks in Advance,
Prasad
Hi Crox,
Thanks for your response.
I am planning to use:
COMPUTE GREG-DATE = FUNCTION INTEGER-OF-DAY
(FUNCTION DAY-OF-INTEGER(JUL-DATE))
END-COMPUTE.
Thanks,
Prasad
Hi Crox,
Thanks for your immediate response.
I hope i can use function calls. Can you send Syntax for the Function.
Thanks for all your help.
bye,
Prasad
Hi Betty,
Thanks for your immediate response.
I don't know what version of Cobol is running. I hope i can use function calls. Can you Send Function and Source Code also. So, that i can implement one of those.
Thanks for all your help.
bye,
Prasad
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.