DMSOPEN (New or Existing File)

To check a user's authority to create a new file or open an existing file, the SFS server calls the SFS object authorization checking CSL routine. A new file is indicated by FN in the object description in the object list on the authorization call. The IBM-supplied DMSUAUTH routine calls a series of RACROUTE calls to the ESM.
Table 1. Mapping for DMSOPEN CSL Routine
DMSUAUTH Parameters RACROUTE Calls
  • User ID
  • File pool request code: X'17'
  • Processing code
  • Transaction ID
  • File pool ID
  • Name of file (for existing) or name of directory (if new file)
  • New file name (if requested in DMSESM PROFILE file)
  • User data and flags (optional)
Separate calls for:
  • READ/WRITE access to file (existing)
  • WRITE access to directory (if new file)
  • ALTER access to new file (if requested)