Also for 1: 'echo text > file' will create a temporary file. use 'save file'
to make it permanent.
regards,
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Robert W.Mills (Systems Development Manager) |
|Windsong Services, St. Mary Cray, ENGLAND |
|Tel : +44 (0)1689 870622 x3005 |
|Fax : +44 (0)1689 899026 |
|Email: [log in to unmask] |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-----Original Message-----
From: Shahan, Ray [mailto:[log in to unmask]]
Sent: 11 October 2001 15:01
To: [log in to unmask]
Subject: Re: Need your help on File Creation Fundaes
For 1: FILE NEWFILE=NEWFILE;SAVE
for 2: Assuming we are still talking about option 1, in your select
statement ASSIGN to "NEWFILE"
for 3: At the MPE prompt, type HELP FILE ALL
> -----Original Message-----
> From: Sathishmohan Selvaraj [SMTP:[log in to unmask]]
> Sent: Thursday, October 11, 2001 8:51 AM
> To: [log in to unmask]
> Subject: Need your help on File Creation Fundaes
>
> Hi All,
>
> (1) Is it necessary that i always need a build command to create a file?
> Any other possibilities.
>
> (2) Ways in which i can create a file from a cobol program?
>
> (3) Enlight me on the difference between spool files, temporary files
> and permanent files and how each are created.
>
> Thanks,
> Sathish
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|