Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Identifying a VSAM File Type by looking

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

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Mon Jun 11, 2007 3:27 pm    Post subject: Identifying a VSAM File Type by looking
Reply with quote

this is something asked in an interview.

You'll have a file with records in it.
Just by looking at this file how can we identify what kind of a VSAM file is it???
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Jun 11, 2007 3:40 pm    Post subject:
Reply with quote

nithin,

Quote:
Just by looking at this file how can we identify what kind of a VSAM file is it???


I dont think you can.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jun 11, 2007 6:19 pm    Post subject:
Reply with quote

Hello,

What was meant by "just looking at the file"? That could mean several things. . .
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Mon Jun 11, 2007 9:12 pm    Post subject: Interview question
Reply with quote

Hi,

I hope by viewing the name they are asking us to find out whether it's a VSAM file or not?? But it's possible if we have .index or .dat file like that ...
else just type LC in the command side and here you can get the assosiates where we can find it out ..

Code:
   ASSOCIATIONS                                               
     [b]NONVSAM[/b]--MSD.MKT.FAX.TOPIC.G0002V00     
     [b]NONVSAM[/b]--MSD.MKT.FAX.TOPIC.G0003V00     
 NONVSAM ---- MSD.MKT.FAX.TOPIC.G0002V00     
   IN-CAT --- CATALOG.SYSCAT.VSVOL06                         
   HISTORY                                                   
     DATASET-OWNER-----(NULL)     CREATION--------2007.071   
     RELEASE----------------2     EXPIRATION------0000.000   
     ACCOUNT-INFO-----------------------------------(NULL)   
     STATUS------------ACTIVE                                 
   SMSDATA                                                   
     STORAGECLASS -----MSDLOW     MANAGEMENTCLASS--MSDTEST   
     DATACLASS --------(NULL)     LBACKUP ---XXXX.XXX.XXXX   
   VOLUMES                                                   
     VOLSER------------MIGRAT     DEVTYPE------X'78048083'   
------0                                                       
   ASSOCIATIONS                                               
     [b]GDG[/b]------MSD.MKT.FAX.TOPIC     
Back to top
View user's profile Send private message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Tue Jun 12, 2007 3:16 pm    Post subject: Re: Identifying a VSAM File Type by looking
Reply with quote

wat they asked me is you can open the file, browse it and looking at the data whether we can say wat kind of a file it is.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jun 12, 2007 5:29 pm    Post subject:
Reply with quote

Hello,

Just looking at data in browse will usually not provide the file type.
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 ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us