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
Write some characteristics of cobol as means of business language.
How arrays can be defined in COBOL?
What is difference between static and dynamic call in cobol?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
How are the next sentence and continue different from each other?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Mention the guidelines to write a structured cobol program?
What type of SDLC u followed? Why?
What the difference is between continue and next sentence?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What are the different types of condition in cobol and write their forms.
How do u write test cases?
What is the difference between PIC 9.99 and 9v99 in COBOL?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What is the default value(s) for an initialize? What keyword will allow for an override of the default?