COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'

Answer Posted / gouti

Yes We can By using the funtion reverse

01 MOVE FUNCTION REVERSE(WS-A) TO WS-B

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are literals?

622


how to access the file from prodution from changeman tool and to submit a file to production

6663


) how do u code after getting data?

1575


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

1998


how do you reference the ksds vsam file formats from cobol programs

647






What kind of error is trapped by on size error option?

733


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

695


Give some examples of command terminators?

749


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6794


how do you reference the fixed unblock file formats from cobol programs

698


How many bytes S(8) comp field occupy and its maximum value?

1620


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

689


Which division and paragraphs are mandatory for a COBOL program?

703


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

679


What are the different data types in cobol?

780