Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Vsam to flat file conversion

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
Author Message
iknow

Senior Member


Joined: 22 Aug 2005
Posts: 582
Location: Colarado, US

PostPosted: Mon Oct 10, 2005 6:22 am    Post subject: Vsam to flat file conversion
Reply with quote

Hi All
Could anyone tell me like how to convert a VSAM file to flat file?If possible explain with an example.
Back to top
View user's profile Send private message
References
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 486

PostPosted: Mon Oct 10, 2005 4:46 pm    Post subject: Re: Vsam to flat file conversion
Reply with quote

Hi

Quote:
Could anyone tell me like how to convert a VSAM file to flat file?If possible explain with an example.


To copy from VSAM to Flat file we can use IDCAM utility.


Code:
//STEP04   EXEC PGM=IDCAMS                                             
//INPUT1   DD DSN=Input File VSAM name ,DISP=SHR                 
//OUTPUT1  DD DSN=Out Put Flat file name ,
Give other parameter like Disp, Space and other.           
//SYSPRINT DD SYSOUT=*                                                 
//SYSOUT   DD SYSOUT=*                                                 
//SYSIN    DD *                                                         
  REPRO INFILE(INPUT1) OUTFILE(OUTPUT1)                                 
/*                 


Hope this helps

Regards

Rupesh
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 254

PostPosted: Mon Oct 10, 2005 6:05 pm    Post subject: Re: Vsam to flat file conversion
Reply with quote

iknow, could you please define what you mean by a "flat file"?

By definition, that's either a simple database, any file that is not a database, or a non-delimited file in an ASCII environment.
Back to top
View user's profile Send private message
priyesh.agrawal

Global Moderator


Joined: 28 Mar 2005
Posts: 1509
Location: Chicago, IL

PostPosted: Mon Oct 10, 2005 7:51 pm    Post subject: Re: Vsam to flat file conversion
Reply with quote

Thats right Kevin....There have been continuous speculation over term "FLAT"....

I hope iknow meant for a Physical Sequential Dataset.

Regards,

Priyesh.
Back to top
View user's profile Send private message
vijayamadhuri

Active User


Joined: 06 Apr 2005
Posts: 185

PostPosted: Tue Oct 11, 2005 12:47 am    Post subject: hi
Reply with quote

a flat file is generally a sequential dataset
Back to top
View user's profile Send private message
iknow

Senior Member


Joined: 22 Aug 2005
Posts: 582
Location: Colarado, US

PostPosted: Thu Oct 13, 2005 6:39 am    Post subject: Re: Vsam to flat file conversion
Reply with quote

Hi All

I meant only physical sequential dataset. If that's the case how can I do it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1