[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: dat output files




This program reads a flat file and creates another one.  Hope this
helps.

Wendy
> ----------
> From:         YMCKINNE[SMTP:YMCKINNE@LANIER.COM]
> Sent:         Friday, January 16, 1998 1:56 PM
> To:   Multiple recipients of list SQR-USERS
> Subject:      dat output files
>
>      I am a new user of sqr and I am trying to create a flat file. I
> am
>      opening and writing to a file within my sqr code.  When I run my
> code,
>      my output is sent to my temp file in my c directory.
>
>      When I run my code, I am not finding my .dat file in the temp
> file on
>      my c directory or anywhere on my c drive.  I was wondering if
> someone
>      could give me some advice on what I might try to fix the problem.
>
>
>      My code is as follows:
>
>      begin-procedure init
>      do create_file
>      end-procedure !init
>
>      !**************************************************************
>      !Create File
>      !**************************************************************
>
>      begin-procedure create_file
>           open '{filename.dat}'as 1 for-writing stat=#status
> record=2050
>      end-procedure !create_file
>
>
>      Thanks,
>
>      Yolanda
>

conversn.sqr