how many bytes does s9(15) occupy in comp1 comp2 and comp3 ?
Answer Posted / shiva
COMP1-IT OCCUPIES 4 BYTES TO STORE UP TO 18 CHARACTERS
COMP2-IT OCCUPIES 8 BYTE TO STORE UP TO 18 CHARACTERS
COMP3-IT OCCUPIES HALF BYTE FOR EACH CHARACTER AND HALF BYTE
FOR SIGN...FOR ODD DATA LENGTH SO IT OCCUPIES
(15/2=7.5)+(1/2)=7.5+0.5=8 BYTES.
| Is This Answer Correct ? | 21 Yes | 1 No |
Post New Answer View All Answers
What are the different open modes available in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Write a program that uses move corresponding.
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
how to convert the recors form vsam file to db2 table tru file aid
How to print 10 to 1 if the input have only 10 digit number?
What is inspect in cobol ?
Write a cobol program making use of the redefine clause.
what happens if parmparameter passes zero bytes to the program
What guidelines should be followed to write a structured cobol prgm?
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
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
how do you reference the fixed unblock file formats from cobol programs
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?