Рет қаралды 46
#ibmi #as400 #ifs
Unzip file in ifs using IBM i command CPYFRMARCF and how to resolve CPFA0A2 error Information passed to this operation was not valid.
CPYFRMARCF FROMARCF(pf1.zip) TODIR('/') RPLDTA(*YES)
CPYFRMARCF FROMARCF(pf1.zip) TODIR('/qsys.lib/easyclass1.lib/pf1.file') RPLDTA(*YES)
Additional Message Information
Message ID . . . . . . : CPFA0A2 Severity . . . . . . . : 40
Message type . . . . . : Diagnostic
Date sent . . . . . . : 05/23/24 Time sent . . . . . . : 21:24:16
Message . . . . : Information passed to this operation was not valid.
Cause . . . . . : Possible causes:
--The operation could not use the data passed to it.
--A name may not be correct.
--Directory was expected, but a file was specified.
--File was expected, but a directory was specified.
--The function requested is not supported by the file system.
Recovery . . . : Check the input data to determine the cause of the
problem. Correct the error, and retry the operation.
Technical description . . . . . . . . : If you were attempting an operation
on a user-defined file system (UDFS), the name may have been incorrect
because it was not one of the following:
-- The system and basic Auxiliary Storage Pools (ASP) names are
/dev/qaspXX/udfs_name.udfs where XX is one of the valid system or basic ASP
numbers on the system, and udfs_name is the name of the user-defined file
system.
-- The independent ASP names are /dev/asp_name/udfs_name.udfs where
asp_name is the name of a valid independent ASP, and udfs_name is the name
of the user-defined file system.