1 | Function type | Input | Char(*) |
2 | Function extension 1 | Input | Char(*) |
3 | Function extension 2 | Input | Char(*) |
The Perform Miscellaneous File System Function (QP0FPTOS) API is used to perform a variety of file system functions. The first parameter defines the type of function that is requested. Other parameters are optional, depending on the selected function. The output from this API varies, based on the selected function. See the function descriptions for more details.
To call this program you must have *SERVICE special authority, or be authorized to the Service Dump function of i5/OS through iSeries Navigator's Application Administration support. The Change Function Usage (CHGFCNUSG) command or Change Function Usage Information (QSYCHFUI) API, with a function ID of QIBM_SERVICE_DUMP, also can be used to change the list of users allowed to perform dump operations.
Note: Adopted authority is not used.
Required parameters vary according to the selected function. The selected function is identified by the first parameter on the call to the API.
The desired file system function to perform. Valid values follow:
Function | Function extension 1 | Function extension 2 | Description |
---|---|---|---|
*DUMPALL | Job number (CHAR 6) | (Not supported) | Specifies the job that is dumped. If a job is not specified, the data is dumped for all jobs. If there are multiple jobs with the same number, the first one encountered will be dumped. |
Function | Function extension 1 | Function extension 2 | Description |
---|---|---|---|
*DUMPLFS | Job number (CHAR 6) | (Not supported) | Specifies the job that is dumped. If a job is not specified, the data is dumped for all jobs. If there are multiple jobs with the same number, the first one encountered will be dumped. |
Function | Function extension 1 | Function extension 2 | Description |
---|---|---|---|
*NFSFORCE | V2 | ON or OFF | If ON, indicates version 2 mounts only by the client. If QNFSMNTD is started afterwards, then server will permit version 2 mounts only. |
Function extension 1 is optional or required, based on the first parameter. Whenever it is valid, function extension 1 is described above along with a first parameter description. Function extension 1 is valid when the first parameter is listed below:
Function extension 2 is optional or required, based on the first parameter. Whenever it is valid, function extension 2 is described above along with a first parameter description. Function extension 2 is valid when the first parameter is listed below:
If this API is called without the first parameter that is required, then message CPFBC53 is issued to the caller. This message specifies a parameter that is not valid. To recover, the caller is pointed to the API documentation.
Message ID | Error Message Text |
---|---|
CPE3418 E | Possible APAR condition or hardware failure. |
CPF9872 E | Program or service program &1 in library &2 ended. Reason code &3. |
CPFA0A0 E | Object name already exists. |
CPFA0D4 E | File system error occurred. Error number &1. |
CPDA0FF E | Program not called. You need *SERVICE authority to call this program. |
CPFBC53 E | Invalid parameter. |
CPFBC54 E | Not authorized to call program. |
See Code disclaimer information for information pertaining to code examples.
CALL QP0FPTOS *DUMP |
CALL QP0FPTOS (*DUMPALL '055229') |
CALL QP0FPTOS (*DUMPLFS '055229') |
CALL QP0FPTOS (*NFSFORCE V2 ON) |
CALL QP0FPTOS *REBUILDDEVNULL |
CALL QP0FPTOS *TRACE6ON |
CALL QP0FPTOS *TRACE6OFF |
CALL QP0FPTOS *TRACE8ON |
CALL QP0FPTOS *TRACE8OFF |
CALL QP0FPTOS *TRACE9ON |
CALL QP0FPTOS *TRACE9OFF |
CALL QP0FPTOS *DUMPNFSSTATS |
Top | UNIX-Type APIs | APIs by category |