consider the following two IF statements:
IF X AND NOT Y MOVE A TO B
IF Z=1 OR 9 MOVE A TO B
select one of the following data divusion entries which
gives identical
results for both the above IF statements
a.01 Z PIC 9
88 X VALUE 1.9
88 Y VALUE 0.2 THRU 8
b.01 Z PIC 9
88 X VALUE 0.2 THRU 8
Y VALUE 1.9
c.01 Z PIC 9
88 X VALUE 1.9
88 NOT-Y VALUE 0.2 THRU 1.9
d.none of yhe above
Answers were Sorted based on User's Feedback
Answer / ram g [mindt tree]
z should be initialized else it will consider as spaces and
pgm trying to store numeric will result in soc7 abend.
set command should used to fix the value for z.
can say..answer is d.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the functions like c or c++ in cobol?
can internal sort be applied to sort ksds files?
how do you reference the ksds vsam file formats from cobol programs
I want to declare a field with data type Double in my COBOL program. how shall i do that ?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
What is file status 39 ?
I know my query will return more than one row but I don't want cursor what should I do?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
How do you define a variable of COMP-1? COMP-2?
i have two file, each file having : file1 is having 2 fields field1 field2 file2 is having 3 fields field1 field2 field3 my req is to make it one file like: field1 field2 field1 field2 field3 if anyone know please send me syntax, i tried this with DFSORT but could not succeed.
1.What is the limit of linkage section?
What is the difference between a binary search and a sequential search?