IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Interview questions


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
suganthyprabha

New User


Joined: 28 Jul 2005
Posts: 58

PostPosted: Tue Jan 10, 2006 11:04 am
Reply with quote

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
View user's profile Send private message
mfsiri

New User


Joined: 10 Jan 2006
Posts: 5

PostPosted: Tue Jan 10, 2006 12:51 pm
Reply with quote

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
View user's profile Send private message
kndeepthi

New User


Joined: 20 Jan 2006
Posts: 4

PostPosted: Sat Jan 21, 2006 7:25 pm
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Jan 22, 2006 10:09 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Comp interview questions Mainframe Interview Questions 5
No new posts Interview Questions on Cobol DB2 program Mainframe Interview Questions 5
No new posts The Last Two Question For You To Ask ... Mainframe Interview Questions 0
No new posts Mainframe Interview Questions CICS,CO... Mainframe Interview Questions 6
No new posts Viewing executing process in NDM .. q... IBM Tools 0
Search our Forums:

Back to Top