PIC s9(5)V99 COMP-3 HOW MANY BYTES IT WILL TAKE

other mainframe interview questions

Moderators: Anuj Dhawan, Moderator Group

Post Reply
asmara
Member
Posts: 1
Joined: Wed Mar 05, 2008 2:59 pm
Location: chennai

PIC s9(5)V99 COMP-3 HOW MANY BYTES IT WILL TAKE

Post by asmara » Mon Jun 23, 2008 1:21 pm

I face this question in online test, PIC S9(5)V99 COMP-3?

Where it will take (9+1)/2 = 5 Bytes is the correct answer but for choice sake also 4,8 and 7 only they mention then can you clear it from your side


roselittle@rediffmail.com
Thanks & Regards,
ASMARA

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Mon Jun 23, 2008 1:37 pm

PIC S9(5)V99

S = 1
9(5) = 5
V = 0
99 = 2

total= 8 / 2 = 4 bytes.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others