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
 

 

some vsam(I Q) questions

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: some vsam(I Q) questions
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: 238
Location: USA

PostPosted: Wed Jun 29, 2005 9:27 am    Post subject:
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    Post subject: HOW TO ACCSESS ESDS RANDOMLY IN BATCH COBOL?
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    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 VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm


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