01 text-data pic x(100).
move 'xyzdbfrjjg u' to text-data.
how to find the value of last index of text-data?
Answer Posted / kumar
By using UNSTRING Verb we can do
UNSTRING text-data DELIMITED BY ' ' INTO ws-f1 (o/p varible)
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
HOw can I get the negative sign while deduct high value from low value
What are the access modes of START statement?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
How are the next sentence and continue different from each other?
What is a scope terminator give example?
What is static and dynamic call in cobol?
State the various causes of s0c1, s0c5 and s0c7.
i want a program using by if, evaluate , string, unstring, perform, occurs?
What are various search techniques in cobol? Explain.
What is the difference between structured cobol programming and object alternativelyiented cobol?
How do you reference the following file formats from cobol programs?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What are literals?
What are the different open modes available in cobol?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?