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

COBOL & VSAM interview questions


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top