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

Quinnox Interview Questions


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

New User


Joined: 13 Jan 2006
Posts: 16

PostPosted: Wed Jan 18, 2006 3:15 pm
Reply with quote

Hi all,

I am new to this Forum. This site is really very Useful. I faced the foll questions.

1. How to Initialize the MAP variables?
2. Why should we SET MDT to ON?
3. What is the last Statement in JCL?
4. In Vsam i am doing one Process repeatedly like I have to DEFINE the file, READ and after the Process over DELETE the file? In this i have to refer my Input FILE only once, How?
5. I have created one Vsam file and i am goign to use it in the APplication as an EMPTY file? How will u handle this situation?
6. I want to compile my pgm, but my load module name should be the Program id of the Program?
I said in LKED.SYSLMOD we can give the name whatever we want, but he didn't accept.

7. In COBOL+DB2, while compiling at which step DB2 SUBSYSTEM should be up?


Thanks,
Megalai.
Back to top
View user's profile Send private message
gowtham_1982
Warnings : 1

Active User


Joined: 02 Dec 2005
Posts: 109

PostPosted: Wed Jan 18, 2006 5:44 pm
Reply with quote

Megalai wrote:
Hi all,

I am new to this Forum. This site is really very Useful. I faced the foll questions.

1. How to Initialize the MAP variables?
2. Why should we SET MDT to ON?
3. What is the last Statement in JCL?
4. In Vsam i am doing one Process repeatedly like I have to DEFINE the file, READ and after the Process over DELETE the file? In this i have to refer my Input FILE only once, How?
5. I have created one Vsam file and i am goign to use it in the APplication as an EMPTY file? How will u handle this situation?
6. I want to compile my pgm, but my load module name should be the Program id of the Program?
I said in LKED.SYSLMOD we can give the name whatever we want, but he didn't accept.

7. In COBOL+DB2, while compiling at which step DB2 SUBSYSTEM should be up?


Thanks,
Megalai.



hai Megalai, the following queries may help you.

1. Move LOW-VALUES or HIGH-VALUES to the MAP+I.

2. There are more than one way to set the MDT on. You can move input values to the field. You can also set by moving LOW-VALUES or HIGH-VALUES to them. also there are some other ways too. please refer to the manuals for more info.

3. The last statement should be a null statement to mark the end of job stream.

4. You open the file in I-O mode. this should serve for reading and deleting.

5. Please give a more clear picture.

6. Please give a more clear picture. We use CHGMAN in our floor which porduces the Load in the same name of the source.

7. It is enough if the DB2 subsystem is up after precompilation. Precompile will not bomb if the DB2 sub system is not up.


corrections welcomed...

gowtham
Back to top
View user's profile Send private message
saithvis2

New User


Joined: 23 Dec 2005
Posts: 61
Location: Providence , US

PostPosted: Wed Jan 18, 2006 7:41 pm
Reply with quote

Hi there ,

Megalai wrote:
6. I want to compile my pgm, but my load module name should be the Program id of the Program?
I said in LKED.SYSLMOD we can give the name whatever we want, but he didn't accept.


solution:
Use the override as given below:
LKED.SYSLMOD DD DISP=SHR,
DSN=YOURRUNLIB.LOAD(YOUR PROGRAM NAME)

With this override run your job ; the load module will be created with the program name or whatever name you have mentioned in the overrided step .

Please correct me if wrong .

regards
Vishal
Back to top
View user's profile Send private message
prakash271082

New User


Joined: 09 Sep 2005
Posts: 53

PostPosted: Thu Jan 19, 2006 12:53 am
Reply with quote

Hi,
1. If you are using BMS macros to create your map, you could initialize using " INITIAL = ".
2. why, because only then you could recieve the changes done by the user, so that it could reflect in the database.
4. In this case, you could make use of either TSQ or TDQ to perform this.
5. VSAM itself automatically handles by writing in a dummy record into the file, if it is opened first time in OUTPUT Mode.
7.If you quote VALIDATE parameter in your BIND jcl as BIND, DB2 need tobe up during bind time, else if you code it as RUN, then it's necessary tobe up during RUN time. i.e it depends on VALIDATE parameter.
With 3 and 6, our friends came up with correct answer.
Hope this helps....
Back to top
View user's profile Send private message
Megalai

New User


Joined: 13 Jan 2006
Posts: 16

PostPosted: Fri Jan 20, 2006 6:38 pm
Reply with quote

Hi Friends,

thank u so much for ur reply.

thanks,
megalai.
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