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

Identifying a VSAM File Type by looking


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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: 1436
Location: Bangalore,India

PostPosted: Mon Jun 11, 2007 3:40 pm
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

Moderator Emeritus


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

PostPosted: Mon Jun 11, 2007 6:19 pm
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: 677
Location: NJ

PostPosted: Mon Jun 11, 2007 9:12 pm
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
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

Moderator Emeritus


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

PostPosted: Tue Jun 12, 2007 5:29 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top