View previous topic :: View next topic
|
Author |
Message |
suganthyprabha
New User
Joined: 28 Jul 2005 Posts: 58
|
|
|
|
Hi Friends,
I have faced the foll Questions. Can u please let me know regarding this.
1. Diff b/w 9(4) comp-3 and s9(4) comp-3.
2. File-aid:
I am having 9 layouts. I want to browse only 9 th layout. how?
3. In XPED i got s0c7, how can i find in which line i got this abend?
4. In changeman i am using one pgm, if another user wants to access the program, how will u handle the situation?
5. How u ensure that u have coded the program in a QUALITY MANNER. What is Program Documentation?
6. I am using altrenate key. In the file i don't have records, if it is how will u handle that situation?
I didn't get this question that is what the interviewer expected?
7. In SYSIN, i am going to pass 10 values.If i want to pass only 9 th value how will u code it in the Program?
Thanks and Regards,
Suganthy. |
|
Back to top |
|
|
mfsiri
New User
Joined: 10 Jan 2006 Posts: 5
|
|
|
|
1. Diff b/w 9(4) comp-3 and s9(4) comp-3.
9(4) comp-3 takes 2 bytes and s9(4) comp-3 takes 3 bytes sign takes extra 1/2 byte and the remaining 1/2 byte is filled with 0.
Pls correct me if i am wrong.
question 2 is not clear pls explain clearly. |
|
Back to top |
|
|
kndeepthi
New User
Joined: 20 Jan 2006 Posts: 4
|
|
|
|
1.
s9(4) means it takes the value from -9999 to +9999.
9(4) means its max value is 9999.
but comp-3 means it takes hexadecimal format.
comp-3 is computed as (m/2 + 1/2)
both s9(4) ans 9(4) comp-3 takes 3 bytes of memory only..... |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
1) the S9... means that pos values will contain a sign of "C".
neg values will contain a sign of "D".
the 9... means that pos and neg values will contain a sign of "F".
7) I usually cade a special last rec, e.g. EOF or 999999 or STOP. Then test for it in the pgm.
Doing this allows a variable # of sysin "cards". |
|
Back to top |
|
|
|