Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2
PIC X(13). now I want to display the value of NAME1 in
reverse order i.e value should be displayed as "GNIMMARGORP
LOBOC" HOW can I do that ??? please let me know if any one
knows it.

Answer Posted / praveen ellur

Reverse function in Cobol will do this for u.

Here is the syntax.
FUNCTION REVERSE ('COBOL PROGRAMMING')

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the code implementing the perform … varying.

646


What is length is cobol?

650


IF I mention stop run in CICS what happens?

1896


What are the different rules to perform a Search?

617


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2060






Name some of the examples of COBOl 11?

2686


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1115


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

661


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1939


Difference between cobol and cobol-ii?

704


In which area will you utilize 88 level items in cobol?

722


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1024


what happens if parmparameter passes zero bytes to the program

1667


) How do u handle errors in BMS macro?

1427


Explain how you can characterize tables in cobol?

638