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


Please Help Members By Posting Answers For Below Questions

Which is not true about evaluate statement

1595


What is the difference between comp and comp-3 usage?

681


Explain how you can characterize tables in cobol?

640


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720


Explain what you understand by passing by value.

704






Name some of the examples of COBOl 11?

2688


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1773


Whats the difference between search & search ALL?

5270


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1958


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5695


What is comp-1 and comp-2?

766


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17054


What is inspect in cobol ?

806


Explain how to differentiate call by context by comparing it to other calls?

689


What is rmode(24)

682