Answer Posted / avinanda mukherjee
If the example is-
01 WS-NUM1 PIC 9(1)
01 WS-NUM2 REDEFINES WS-NUM1 PIC X(2).
If you MOVE '10' to WS-NUM2,
DISPLAY WS-NUM1 will show 0 (Numeric) while
DISPLAY WS-NUM2 will show 10 (charecter).
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Write a cobol program making use of the redefine clause.
How to know whether the module is dynamical or statistical?
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 are the next sentence and continue different from each other?
What is the usage of comp fields in cobol?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is the LINKAGE SECTION used in COBOL?
how to move the records from file to array table. give with code example
What are the rules of the move verb?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
How do define dynamic array in cobol.
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad