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


Please Help Members By Posting Answers For Below Questions

How do define dynamic array in cobol.

666


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

691


What are the different rules of SORT operation?

689


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1762


Can we redefine the field of x(200) to less than 200?

814






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...)

1916


HOw can I get the negative sign while deduct high value from low value

1781


What is the Purpose of Pointer in the string?

637


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

1017


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.

1999


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

2003


What are the access modes of START statement?

714


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1518


What is the difference between goback, stop run and exit program in cobol?

915


What is the Purpose of POINTER Phrase in STRING command in COBOL?

711