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 structured cobol programming and object alternativelyiented cobol programming?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is static and dynamic call in cobol?
What rules are followed by the search verb.
What is link edit in cobol?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
how can i see junk values in dclgen or in hostvariable of comp ?
) How do u handle errors in BMS macro?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Are you comfortable in cobol or jcl?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What are 77 levels used for?