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 / krishna chaitanya

cana ny one post a code for that ,

thanks in advance

krishna

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1232


What are different data types in cobol?

694


Have you used comp and comp-3 in your project? And how?

2010


What are the various section in data division and briefly explain them.

700


How do you get the data to code the BMS macro?

1476






Why did you choose to work with ibm mainframe cobol programming?

631


Difference between array and sub-script ?

1169


What is a SSRANGE and NOSSRANGE?

824


In COBOL programming, what is PERFORM? What is VARYING?

672


Write a program to enter and display the names of students in a class using the occurs clause.

654


Mention the guidelines to write a structured cobol program?

620


What is the difference between a binary search and a sequential search what are the pertinent cobol?

737


Write the code to count the sum of n natural numbers.

703


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

712


What is an in line perform? When would you use it? Anything else you wish to say about it.

649