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
What are literals?
how to access the file from prodution from changeman tool and to submit a file to production
) how do u code after getting data?
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.
how do you reference the ksds vsam file formats from cobol programs
What kind of error is trapped by on size error option?
Write the code to count the sum of n natural numbers.
Give some examples of command terminators?
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?
how do you reference the fixed unblock file formats from cobol programs
How many bytes S(8) comp field occupy and its maximum value?
How do you reference the following file formats from cobol programs?
Which division and paragraphs are mandatory for a COBOL program?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What are the different data types in cobol?