Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Interview questions

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Interview questions
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am
No new posts SAS Programming - Basic Questions Techelm All Other Mainframe Topics 3 Fri Mar 18, 2016 10:53 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us