how many bytes does s9(7)COMP-3 field occupies?
Answer Posted / sekhar
s9(7)COMP-3
s occupius 1/2 bytes so 1/2+1/2(extra)=1 byte
1+7=8comp3
4 bytes
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
how do you reference the esds vsam file formats from cobol programs
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is the difference between comp and comp-3 usage?
What is the utilization of copybook in cobol?
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?
Name the divisions, which are available in a cobol program?
What is rmode(any) ?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Can we redefine the field of x(200) to less than 200?
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.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
) How do u handle errors in BMS macro
What is an in line perform? When would you use it? Anything else you wish to say about it.