z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using the ddname in an application

z/OS UNIX System Services User's Guide
SA23-2279-00

Instead of using data set names or path names in an application, you can use a ddname; then in the JCL, you associate a specific data set or file with that ddname.
Note: The parent process's allocations, for both data sets and files, are not propagated by fork() and are lost on exec(), except for STEPLIB.
You have a choice of two methods for accessing data sets and files in an application:
  • The ANSI C function fopen()
  • The OPEN macro

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014