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 Compare yesterday's date to the one o... migusd SYNCSORT 7 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Setting Font Type for XMIT satish.ms10 All Other Mainframe Topics 3 Fri Sep 15, 2017 10:01 pm
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm

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