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

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

1990


How do get the result of your program directly on your pc?

2076


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5604


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

866


what is the difference between COBOL2 AND COBOL390?

2733


What is a report item?

914


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1038


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

912


What is comp-1 and comp-2?

948


How many sections are there in data division in COBOL?

897


What is the problem of ordered sequential files access?

917


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2354


Name the sections present in data division.

913


Write a program to explain size error.

888


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

7104