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 / kamaldeep
We can use:
INSPECT ws-var1 CONVERTING 'ABCD' TO '1234'.
this will replace a with 1, b with 2, c with 3 & d with 4
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between PIC 9.99 and PIC9v99?
how do you reference the ksds vsam file formats from cobol programs
How do you reference the following file formats from cobol programs?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the utilization of copybook in cobol?
Explain about different table spaces.
Write a program to explain size error.
What type of SDLC u followed? Why?
what is the use of outrecord?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What are the different open modes available in cobol?
What are all the divisions of a COBOL program?
What is comp-1 and comp-2?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
how to move the records from file to array table. give with code example