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 |
how can i see junk values in dclgen or in hostvariable of comp ?
How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?
What is the difference between next sentence and continue in cobol programing language?
db2 variable decimal(15,2) what is the equalent size of cobol variable
What is inspect in cobol ?
why occurs clause not mentioned in 01 level
6 Answers HCL, NIIT, TCS, Tesco,
How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.
I have two files , file1 is input file it contains 10,20,30,....,records but i want to display the records in file 2 as reverse order .how can we do by using jcl& cobol(dont use array) please any one can tell me the answer
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
HI THIS IS ANIL. HOW TO PASS A RECORDS OF A FILE(PS OR PDS) TO AN ARRAY?
88 level entry is used for (a) data items in WORKING-STORAGE SECTION (b) items with RENAMES clause (c) condition-names (d) None of the above
How to display string in the reverse order using occurs clause?