can u give result for the fallowing example...
05 a pic 9(2)
05 b redifines a pic x(2).
move 'xy' to b.
display a,b.
Answer Posted / santhosh vayathuri
redefines will not check whether is numeric data type or
alphanumeric datatype simply it will display the value what
ever there in the memory . so for this question answer is
a = xy
b = xy
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
) how do u code after getting data?
How do you get the data to code the BMS macro?
What is a report item?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
i want a program using by if, evaluate , string, unstring, perform, occurs?
When is inspect verb is used in cobol?
What is report-item in COBOL?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Whats the difference between search & search ALL?
how do you reference the rrds file formats from cobol programs
What are different data types in cobol?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What kind of error is trapped by on size error option?