How to display string in the reverse order using occurs
clause?

Answer Posted / rookie

Have u missed something.

Out-string must be an array.

01 OUT-STRING PIC X occurs 9 times.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

708


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10608


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

652


How do you define a variable of comp-1 and comp-2?

701


How can you get the ksds file records into your cobol program?

642






What is difference between static and dynamic call in cobol?

777


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

643


Difference between array and sub-script ?

1164


how do you reference the rrds file formats from cobol programs

798


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

2008


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

735


Are you comfortable in cobol or jcl?

643


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1931


What is redefines clause in COBOL?

849


How do you reference the following file formats from cobol programs?

693