Use a Variable for a File-Name

Is it possible Visual COBOL Personal to use a variable for the 'assign to' name.

I am working on a project that I need to split a file in about 100 different files for delivery. And DO NOT want to create 100 Selects and FD's.

 

Is this possible?

Parents
  • Verified Answer

    Thanks, I thought it was easy but could not find a reference and when I tried this method before I received a file not found. So I gave up and asked the question. I did figure out that I could use an environment variable to do the job. But this answer is much easier and a little more portable. Thanks again.
Reply
  • Verified Answer

    Thanks, I thought it was easy but could not find a reference and when I tried this method before I received a file not found. So I gave up and asked the question. I did figure out that I could use an environment variable to do the job. But this answer is much easier and a little more portable. Thanks again.
Children
No Data