01 b pic +9(4)
How many bytes it will take for storage???

Answer Posted / guest

5 bytes.
As usage caluse is not mentioned, default usage clause
which is "Display" will be used for b. Display uses 1 byte
for every character data. So 1 byte of sign(+) and other 4
bytes of pic 9(4). Total 5 bytes will be used.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2096


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

699


Explain how to differentiate call by context by comparing it to other calls?

679


Explain about different table spaces.

642


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

648






Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2323


What is the difference between Global and External Variables?

654


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

812


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1915


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1639


Give some examples of command terminators?

749


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

481


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.

1691


What is rmode(any) ?

676


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1831