If i have a variable
A pic 9(2) value 10
Compute A = a - 100
what will be the value of A and will there be any error
becoz of the Negative value
Answers were Sorted based on User's Feedback
Answer / chandrakant sinha
90 will be the output
No error will be generated.
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / kiran
90 ill come "-" sign wont come bcoze we didnt mention A as a
signed variable
ex
A pic s9(2)
| Is This Answer Correct ? | 0 Yes | 1 No |
what is the maximum error code in mainframe
Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.
What is static and dynamic call in cobol?
wht do u mean by (*,intrdr) wht is * used for ?
HOW WE WILL SORT THE ARRAY WHICH IS GOING TO USE FOR SEARCH ALL?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??
which generation language is cobol
How many maximum number of procedures can we write in one COBOL program?
What is the maximum length of a field you can define using COMP-3 in COBOL?
suppose there is one PF having two members PF1 PF2.PF has one unique key Emp ID.could you tell me uniqueness in PF will be effective across members as well ? assume emp iD 3333 is in member PF1 would same Emp id be exist also in member PF2 ?
what is the coding difference between COBOL and CICS.