01 xxx pic 9(4).
01 yyy pic 9(6).
move 123456 into yyy.
move yyy to xxx.
display yyy.
what would be the value of yyy
Answers were Sorted based on User's Feedback
Answer / vishal
allways value & move display from rigt to left or accept
lalue left to riht ans 3456
Is This Answer Correct ? | 4 Yes | 11 No |
Explain about Redefines cluse?
what are the limitations of Inline Perform?
How many bytes will be allocated for the following record description entries? 01 REC-A. 05 A PIC S9(4). 05 B PIC XXXBXXX. 05 C PIC ____9.99. 05 D PIC S9(5) COMP-3. 05 E PIC 9(3) COMP.
16 Answers IBM, TCS,
ZEROES and SPACES are _______ constants (a) Figurative (b) Numeric (c) Non-numeric (d) Alphabete
In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say CALC-INT in both the sections. If this para has to be called directly for SECTION-A, then PERFORM CALC-INT will not work as it is present in both sections. How the PERFORM statement has to be coded here?
I have a cobol program with a sub program. How ca i find that it is a dynamic call? or static call..?
can we declare occurs in 01 level?
i have variable record in the 5th, i want to sort from 5th filed ? how ?
input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.
can anyone explain me the concept of COMP-4 PLEASE??
What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?
how can we find total no of records in a file ....is there any utility......?