i need a program by giving input as a abcd in any randem order
but i need a output as 1234 related to abcd. i.e,. a for
1,b=2,c.....etc..
Answer Posted / krishnan
EVALATE ABCD
WGEN 'ABCD'
DISPLAY '1234'
WHEN 'BCDA'
DISPLAY '1234'
Like that we will try i this is not a proper method but
they need only the output is 1234 means we try this also
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
How do define dynamic array in cobol.
How do you reference the following file formats from cobol programs?
What are the different rules of SORT operation?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Can we redefine the field of x(200) to less than 200?
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...)
HOw can I get the negative sign while deduct high value from low value
What is the Purpose of Pointer in the string?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
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.
Have you used comp and comp-3 in your project? And how?
What are the access modes of START statement?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the difference between goback, stop run and exit program in cobol?
What is the Purpose of POINTER Phrase in STRING command in COBOL?