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
 

 

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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 1 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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