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
how do you reference the variable block file formats from cobol programs
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
how to refer the data field?
How do you define a variable of comp-1 and comp-2?
) how do u code after getting data?
What is comp-1 and comp-2?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
how do you define single dimensional array and multidimensional array in your cobol?
What are the pertinent COBOL
What is the difference between comp and comp-3 usage?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
i need a small 3d program using inline and outline.
A table has two indexes defined. Which one will be used by the SEARCH?
what is s000 u4087 error? please give the all error codes in cobol,jcl.