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
What are the different open modes available in cobol?
What is a scope terminator give example?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Which Search verb is equivalent to PERFORM…VARYING?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Why did you choose to work with ibm mainframe cobol programming?
What is a SSRANGE and NOSSRANGE?
What are various search techniques in cobol? Explain.
What is the difference between Call and a Link?
Difference between cobol and cobol-ii?
what are decleratives in cobol?
Explain about different table spaces.
Explain the configuration section of a cobol program with examples of syntax.
How do you reference the following file formats from cobol programs?