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

some vsam(I Q) questions


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

New User


Joined: 18 Apr 2005
Posts: 67

PostPosted: Mon Jun 27, 2005 6:24 pm
Reply with quote

can any body pls give me the answerS?
1) HOW DO WE READ KSDS USING AIX IN BATCH COBOL/AND CICS?

2)WHAT IS SKIP SEQUENTIAL READ AND HOW BATCH COBOL SUPPORTS IT?
3) CAN I UNCATLOG OR DELETE DATA SET USING DISP PARAMETER OF JCL? HOW?
4) WHAT ARE THE WAY U CAN GET THE ATTRIBUTES OF VSAM FILE WHEN U DON'T HAVE VSAM DEFINE CARD WITH U?
5) VSAM TO DB2 CONVERSTION ?
6) HOW TO ACCSESS ESDS RANDOMLY IN BATCH COBOL?
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Wed Jun 29, 2005 9:27 am
Reply with quote

rambabu

Always try to ask questions in small case



1) HOW DO WE READ KSDS USING AIX IN BATCH COBOL/AND CICS?

Ans: Using PATH & Base Cluster JCL (for batch) & FCT entry for Path (for CICS)

2)WHAT IS SKIP SEQUENTIAL READ AND HOW BATCH COBOL SUPPORTS IT?

Ans: Eg. You are processing a VSAM file sequentially, so you have set a point in the file using START and using READNEXT you read the next sequential records

Now if you want to skip some records in between, then you would need to again set up a sequential record pointer using STARTBR and then by using READNEXT / READPREV you can start browsing file from that point



3) CAN I UNCATLOG OR DELETE DATA SET USING DISP PARAMETER OF JCL? HOW?

Ans:

Uncatlg: DISP=(New,Uncatlg,Delete) <-- this will uncatlg the dataset after the normal termination of the step

Delete: DISP=(NEW,DELETE,DELETE) <-- this will delete the dataset after the normal termination of the step


4) WHAT ARE THE WAY U CAN GET THE ATTRIBUTES OF VSAM FILE WHEN U DON'T HAVE VSAM DEFINE CARD WITH U?

Ans: LISTCAT, FILE AID 3.5 option


5) VSAM TO DB2 CONVERSTION ?

Ans: Yes ?? Need more explanation about query??

6) HOW TO ACCSESS ESDS RANDOMLY IN BATCH COBOL?

Ans: Using RBA


Hope this helps

Regards
Mayuresh
Back to top
View user's profile Send private message
rambabu
Currently Banned

New User


Joined: 18 Apr 2005
Posts: 67

PostPosted: Wed Jun 29, 2005 1:02 pm
Reply with quote

using rba. i want to know more details .pls tell me
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 Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
Search our Forums:

Back to Top