I tryed writing a program where the user could pick the data file they wanted to process. I was woundering if thet is possable in cobol, I am new to the language. it went somthing like this...<br>
<br>
select input-file assign to file-path.<br>
<br>
.<br>
.<br>
.<br>
<br>
01 file-path pic x(80) value spaces.<br>
<br>
.<br>
.<br>
.<br>
<br>
accept file-path line 1 column 1.<br>
<br>
it was a while ago when i was working on the program and i can't quite remember the error i was getting. I was working with the fujitsu compiler for the pc.
<br>
select input-file assign to file-path.<br>
<br>
.<br>
.<br>
.<br>
<br>
01 file-path pic x(80) value spaces.<br>
<br>
.<br>
.<br>
.<br>
<br>
accept file-path line 1 column 1.<br>
<br>
it was a while ago when i was working on the program and i can't quite remember the error i was getting. I was working with the fujitsu compiler for the pc.