ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> MainFrame >> IBM MainFrame >> COBOL
 
 


 

 
 COBOL interview questions  COBOL Interview Questions (847)
 JCL interview questions  JCL Interview Questions (700)
 CICS interview questions  CICS Interview Questions (447)
 DB2 interview questions  DB2 Interview Questions (667)
 IMS interview questions  IMS Interview Questions (79)
 IDMS interview questions  IDMS Interview Questions (6)
 Natural interview questions  Natural Interview Questions (39)
 ADABAS interview questions  ADABAS Interview Questions (7)
 REXX interview questions  REXX Interview Questions (21)
 Assembler interview questions  Assembler Interview Questions (29)
 CLIST interview questions  CLIST Interview Questions (1)
 QMF interview questions  QMF Interview Questions (4)
 MVS interview questions  MVS Interview Questions (11)
 OS390 interview questions  OS390 Interview Questions (9)
 OS 2 interview questions  OS 2 Interview Questions (0)
 VSAM interview questions  VSAM Interview Questions (177)
 QSAM interview questions  QSAM Interview Questions (3)
 Sysplex interview questions  Sysplex Interview Questions (5)
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions (128)
Question
01 a pic s9(5) occupies how many bytes ?
 Question Submitted By :: G.naveen
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 01 a pic s9(5) occupies how many bytes ?
Answer
# 1
s9(5) occupies 5 bytes of memory. 
Is This Answer Correct ?    34 Yes 11 No
G.naveen
 
  Re: 01 a pic s9(5) occupies how many bytes ?
Answer
# 2
3 
Is This Answer Correct ?    3 Yes 32 No
Manisha
 
 
 
  Re: 01 a pic s9(5) occupies how many bytes ?
Answer
# 3
6 bytes 
Is This Answer Correct ?    4 Yes 14 No
Ananda Kumar R
 
  Re: 01 a pic s9(5) occupies how many bytes ?
Answer
# 4
6 
Is This Answer Correct ?    2 Yes 13 No
Rubal Choudhary
 
  Re: 01 a pic s9(5) occupies how many bytes ?
Answer
# 5
S9(5) occupies 3 bytes of memory.

Because This Goes To Comp3 (5+1)/2=3

Comp1 And Comp2 Don't have the PIC (Picture) Clause.
 
Is This Answer Correct ?    0 Yes 16 No
Kishore Sangu
 
  Re: 01 a pic s9(5) occupies how many bytes ?
Answer
# 6
five bytes 
Is This Answer Correct ?    6 Yes 5 No
Guest
 
  Re: 01 a pic s9(5) occupies how many bytes ?
Answer
# 7
Sorry For the Last Anwer Of Kishore Sangu

I Reffered books for this Quetion

The Answer is 4 Bytes

S9(1) to S9(4) - 2 bytes
S9(5) to S9(9) - 4 bytes
S9(10) to S9(18)- 8 bytes
 
Is This Answer Correct ?    5 Yes 7 No
Kishore Sangu
 
  Re: 01 a pic s9(5) occupies how many bytes ?
Answer
# 8
Kishore Sangu


S9(1)comp to s9(4)comp occupies 2 bytes.
s9(5)comp to s9(9)comp occupies 4 bytes.
S9(10)comp to S9(18)comp occupies 8 bytes.
 
Is This Answer Correct ?    4 Yes 3 No
Naveen
 
  Re: 01 a pic s9(5) occupies how many bytes ?
Answer
# 9
hello to all guys,
display is default
so, it will take 5 bytes
 
Is This Answer Correct ?    7 Yes 3 No
Nag(igate)
 

 
 
 
Other COBOL Interview Questions
 
  Question Asked @ Answers
 
how will u find out 3rd week's 2nd day using occurs ? L&T 3
what is the coding difference between COBOL and CICS. Cap-Gemini 8
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?   4
Can we move SPACES to numeric field and ZEROES to alphabetic field? If yes what are the way doing this? T-systems 6
s9(18) comp-3:: What is the size of memory it takes internally?   4
what is call by value and call by reference ? Infosys 3
How much salary you are expecting? If they ask in an interview, what we have to tell? Wipro 5
in cobol perform stmt whether it first checks the condition or not   9
I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know. Mascon 10
How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning. CGI 7
What is the difference between working storage copybook and linkage section copybook? TCS 5
what is the difference between PA & PF keys? IBM 1
 
For more COBOL Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com