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
 

 

COBOL & VSAM interview questions

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
naveensri2005
Currently Banned

New User


Joined: 22 Mar 2005
Posts: 51
Location: chennai

PostPosted: Mon Oct 03, 2005 8:30 pm    Post subject: COBOL & VSAM interview questions
Reply with quote

hi guys,

1. What is the Use of the List and Verify command ?
2. How to load the records In AIX?
3. What is the Use of the Build Index?
4. I have three files are there. First two files have millions of records are there. In these two files only one comman field is there that is orderno. based on the orderno. If both files has orderno is equal write into 3rd file? how can do this one?(millions of Records) what is the procees ?

5. what is difference between chaining and call?

6. Which one is best for call(i.e. static call,dynamic call)? if static call is best why? At what situation we are using Dynamic call? what is the Advantage of the Dynamic Call.


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

EnjoyMF

New User


Joined: 27 May 2005
Posts: 88

PostPosted: Sat Oct 08, 2005 12:16 pm    Post subject: Re: COBOL & VSAM interview questions
Reply with quote

1. What is the Use of the List and Verify command ?
Listcat
The LISTCAT command is provided to list the information from catalog entries. If you have been reading this page in sequence, you have already seen output from the LISTCAT command in the SYSOUT listings from my examples of many of the other AMS commands. It is almost always a good idea to list the catalog entries for objects immediately following their creation to visually verify that all of the options you intended to specify were entered correctly and had the desired effect on the entry created. It is also frequently necessary to list fields from the catalog entry for a VSAM object to diagnose problems
Verfiy
Verify VSAM Dataset
If a job terminates abnormally and a VSAM dataset is not closed, the catalog entry for the dataset is flagged to indicate that the dataset may be corrupt. Before the dataset can be opened again, the VERIFY command must be used to correctly identify the end of the dataset and reset the catalog entry.

Model syntax for the VERIFY command:

VERIFY {FILE(ddname[/password]) |
DATASET(entryname[/password])}
For more Details on VSAm click
http://www.jaymoseley.com/hercules/vstutor/vstutor.htm#AMSlistcat

2. How to load the records In AIX?
Using Upgrade option when defining the AIX ,if a data is updated in main cluster it is automatically done in AIX
OR using repro command
OR when a build AIX is done automatiaclly all the records are written into

3. What is the Use of the Build Index?
BLDINDEX command to build the alternate keys and load the alternate indexes defined by the previous example jobstream

4. I have three files are there. First two files have millions of records are there. In these two files only one comman field is there that is orderno. based on the orderno. If both files has orderno is equal write into 3rd file? how can do this one?(millions of Records) what is the procees ?

Write a cobol program
merge both the files & use ICETOOL, refer below
http://ibmmainframes.com/viewtopic.php?t=3638&highlight=sort
i think we can also do by sort, plz check in the form, for this

5. what is difference between chaining and call?
a chain is somthing like XCTL of CICS , wheteher the control is not returned back to the calling program, but a call expects the control back

6.Which one is best for call(i.e. static call,dynamic call)? if static call is best why? At what situation we are using Dynamic call? what is the Advantage of the Dynamic Call.

with repect to run time efficiency Static call is the best as the called program will be the part of load module'
with repect to memory utilization Dynamic is best
Back to top
View user's profile Send private message
suneela

New User


Joined: 21 Oct 2005
Posts: 1

PostPosted: Fri Oct 21, 2005 6:21 pm    Post subject: Re: COBOL & VSAM interview questions
Reply with quote

hi ,
wht is the name of the system we use for Mainframes
Regards,
Suneela
Back to top
View user's profile Send private message
Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 104
Location: Concord, New Hampshire, USA.

PostPosted: Fri Oct 21, 2005 7:17 pm    Post subject:
Reply with quote

Hi Suneela,
Welcome to our discussion room!As you are a new user,first go through the forum rules. Post your query in the appropriate section,with appropriate subject line. Did you mean legacy system? or Type SAREA on the command line,you will get the system name,region and more info.
Regards,
Sridevi.
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
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am


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