A LESS 1200 IF B GREATER 25 MOVE 47 TOC
ELSE MOVE 57 TO C
IF A GREATER 249 MOVE 67 TO C
ELSE NEXT SENTENCE ELSE IF B LESS 67
MOVE 27 TO C
What will be the value of C, when A is 137 and b is 25
Answers were Sorted based on User's Feedback
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
1.What is the limit of linkage section?
What is the difference between write & move in COBOL?
What is report-item?
What is the mode in which you will OPEN a file for writing?
how can we get current dat and time thru cobol pgm
I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..
what is lrec=f,what is difference between f,fb,v,vb?what is default value?how do we came to know that records are in f,fb,v,vb?
which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast
can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)
Can the OCCURS clause be at the 01 level?
In a program, variables are used but no DB2 involved in it. Can you call it as host variables??