consider the fallowing
77 stat pic 9.
88 male value 1,2,3.
88 female value 4 through7.
what will be the value of stat
a) set male to true.
b) set female to true.
Answer Posted / madhu
both the statements cannot be true when 88 level no is
used.so may be the 1st or the second might be true.if male
is set to be true then value of stat is between 1-3 else 4-7
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is redefines clause in COBOL?
how do you reference the fixed unblock file formats from cobol programs
What is the difference between Global and External Variables?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Differentiate between structured cobol programming and object-oriented cobol programming.
What is the problem of ordered sequential files access?
What is the difference between binary search and sequential search?
How arrays can be defined in COBOL?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Which Search verb is equivalent to PERFORM…VARYING?
Which mode is used to operate the sequential file?
What is the LINKAGE SECTION used in COBOL?
What are the different rules for performing sort operation?