Using fopen() or freopen()

When you open a file with fopen() or freopen(), you must specify the data set name, file name, or ddname.