01 a pic 9(6) value is 123456
01 b pic 9(3)
move a to b
wht will be the value ?
Answers were Sorted based on User's Feedback
What is the maximum length of a field you can define using COMP-3 in COBOL?
using redefine can you redefine lower variable size to higher variable size?
What is the compute verb? How is it used?
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?
what will happen if i give program name and member name as different? program runs successful or w'll abend?
01 a pic s9(5) value '-12345' how it will be stored
What are the different rules of SORT operation?
HI THIS IS ANIL. HOW TO PASS A RECORDS OF A FILE(PS OR PDS) TO AN ARRAY?
I have a cobol program with a sub program. How ca i find that it is a dynamic call? or static call..?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is LENGTH in COBOL II?
What is Static and Dynamic linking ?