Sorry, minor error:

infile = fopen ...

should have been

inpfile = fopen ...

Kind regards

Bernd



Am 15.09.2012 12:25, schrieb Bernd Oppolzer:
Maybe I'm too late to join in that topic, but:

char *inpfilename = "dd:inpfile";    /* opens file assigned via //INPFILE DD */
char *inpfilename2 = "my.file";    /* opens file prefixed with userid */
char *inpfilename3 = "\'userid.my.file\'";   /* doesn't prefix with userid */
FILE *inpfile;

infile = fopen (inpfilename, "r");  /* or inpfilename2, or ...3 */

Kind regards

Bernd



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to