z/OS Distributed File Service zFS Administration
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Running the zFS pfsctl APIs in 64-bit mode

z/OS Distributed File Service zFS Administration
SC23-6887-00

The pfsctl (BPX1PCT) application programming interface can be invoked in a 64-bit environment. To do this, you must take the following steps:

  1. Replace the BPX1PCT with BPX4PCT
  2. Replace the #pragma linkage(BPX1PCT, OS) statement with #pragma linkage(BPX4PCT, OS64_NOSTACK)
  3. Change all the "long" declares to "int"
  4. Ensure there are appropriate includes for function calls
  5. Ensure all functions requiring 64-bit parameters are passing 64-bit numbers (for example, ctime_r).

The remaining code is, or can remain, unchanged. Statistics iocounts information (64-bit mode) shows example code that has been updated to be invoked in a 64-bit environment.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014