pic S9(4) results 3 bytes1
A) comp
B) comp1
C) display
D) comp3
Answers were Sorted based on User's Feedback
Answer / guest
d Comp-3
because for S9(n)
if n is odd no of bytes is (n+1)/2
if n is even no of bytes is (n/2)+1
Is This Answer Correct ? | 11 Yes | 1 No |
Answer / reddy
Ans is D.
For any comp3 variables,
for s9(n), the number of bytes it stores is n/2 + 1
Is This Answer Correct ? | 9 Yes | 0 No |
Can you define an alias?
What is the function of dbctl?
how do we prepare test data using file-aid tool?
How much memory does variable of 6 decimal (15, 2) take in PL/1?
how do u code a copy book in ur pgm ?
Attended Xansa Interview , Asked Questions : 1) Diff between Renames and Redefines 2) Comp and Comp -3 3) What will happen if DISP = ( NEW, DELETE, KEEP) 4) Gave one scenario like , if PIC clause X(50) has to be increased to X(70) how u will proceed with this change. 5) Diff between Section and Paragraph
How many bytes will a s9(8) comp field occupy ?
what u mean by csrloc and rtncsrloc in rpgIV in as/400.Give an eg? to do...give some coding...what is row no and column no ???..if possible...give a no of lines coding....please
can we describe the results of opening for input empty vsam files in a cobol program?
What is the maximum value that can be stored in s9(8) comp?
What is meant by a bolt dispute?
Does qtp tool support mainframe application testing?