consider two data items
77 W-A PIC 9(3)V99 VALUE 23.75
77 W-B PIC ZZ9V99 VLAUE 123.45
after the statement
MOVE W-A TO W-B
what will be W-B's value?
a.123.75
b.b23.75 (where b indicates space)
c.023.75
d.invalid move
Answers were Sorted based on User's Feedback
Answer / rama krishna
b. Z replaces the value zero with blank spaces....
Is This Answer Correct ? | 14 Yes | 3 No |
Answer / satish
z is numeric edited value so can.t initialize the value
so the question is wrong
pls check it pratically
Is This Answer Correct ? | 0 Yes | 4 No |
What is Static,Dynamic linking ?
Explain about Redefines cluse?
01 b pic +9(4) How many bytes it will take for storage???
I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.
SSRange is used to do a range check on which of the Following. SUBSCRIPT,INDEX,REFERENCE MODIFICATION,Run-time option.
Why occurs cannot be used in 01 level in COBOL?
how can count the number of character in feild ?? suppose for instance i have a feild with value ' rajesh sarkar' then how can v count the number of characters whitout spaces...........
How to use the same COBOL program in Batch and CICS on lines? explain with an example
I HAVE FOLLOWING DECLARATION. 02. A PIC X(10) VALUE 'XXXXXXXXXX'. 02. B REDEFINES A. 05. C PIC X(3). 05. D PIC X(3). 05. E PIC 9(3). IN MY PROG, I HAVE MOVE 1 TO E. DISPLAY A. WHAT WILL BE DISPLAYED AS A RESULT OF THIS? PLEASE EXPLAIN THE ANSWER. THANKS.
I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.
how to crack cts interview apps? NOVEMBER 21 2010
in cobol perform stmt whether it first checks the condition or not