LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2001, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 10 May 2001 14:00:52 -0400
Reply-To:   Larry Bertolini <bertolini.1@OSU.EDU>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Larry Bertolini <bertolini.1@OSU.EDU>
Organization:   Ohio State University
Subject:   Re: Is there a program to generate file descriptions for VSAM filesin
Content-Type:   text/plain; charset=us-ascii

I assume that your VSAM file descriptions are COBOL copy members, e.g.:

01 MASTER-RECORD. 05 ACCOUNT-NUM PIC X(09). 05 ACCOUNT-NAME PIC X(36).

If that's the case, do a search for "COB2SAS", which is some SAS code that translates COBOL record descriptions to SAS input statements.

Adele Hall wrote:

> Hi Everyone, > > I wonder if there is a program to generate file descriptions for VSAM files > in SAS programming. Right now, I have to manually type in the field names > and their positions from VSAM files in the section of INPUT statement in my > SAS programs. It is very time consuming. Sometimes I have a hard time to > get the field positions right. > > In Focus programming, there is a program to generate master file > descriptions for VSAM files. It will be great if there is a program to > generate file descriptions for VSAM files in SAS programming. > > I look forward to hearing from you. Any suggestions are greatly > appreciated. > > Thanks a lot, > > Adele


Back to: Top of message | Previous page | Main SAS-L page