midrange.com code scratchpad |
Name:
Coomand and errors for IFS Object
|
Scriptlanguage:
Plain Text
|
Tabwidth:
4
|
Date:
06/27/2023 01:45:18 pm
|
IP:
Logged
|
|
Description:
Hi,
I tried below two combinations but none worked and produced these errors mentioned in below 'Code:' section here.
Thanks
|
Code:
-
-
- **************
- Copy Object (CPY)
-
- Type choices, press Enter.
-
- Object . . . . . . . . . . . . . OBJ > '/home/K21/Callstack.txt'
- To directory . . . . . . . . . . TODIR '.'
-
- To object . . . . . . . . . . . TOOBJ /QSYS.LIB/K211.LIB/SR1.FILE/
-
- Symbolic link . . . . . . . . . SYMLNK *NO
- From CCSID . . . . . . . . . . . FROMCCSID *OBJ
- To CCSID . . . . . . . . . . . . TOCCSID *OBJ
- Data Format . . . . . . . . . . DTAFMT *BINARY
- Directory subtree . . . . . . . SUBTREE *NODIR
- Replace object . . . . . . . . . REPLACE *NO
- Owner . . . . . . . . . . . . . OWNER *NEW
- Authority . . . . . . . . . . . AUT *OBJ
-
-
-
- Bottom
-
- Error:-
-
- Message ID . . . . . . : CPFA0A0 Severity . . . . . . . : 40
- Message type . . . . . : Diagnostic
- Date sent . . . . . . : 06/27/23 Time sent . . . . . . : 13:39:56
-
- Message . . . . : Object already exists. Object is
- /QSYS.LIB/K211.LIB/SR1.FILE/.
- Cause . . . . . : A create operation was attempted on object
- /QSYS.LIB/K211.LIB/SR1.FILE/. This object already exists.
- Recovery . . . : Use a unique name for the object, and retry the operation.
-
- *******************************
- Copy Object (CPY)
-
- Type choices, press Enter.
-
- Object . . . . . . . . . . . . . OBJ > '/home/K21/Callstack.txt'
- To directory . . . . . . . . . . TODIR '.'
-
- To object . . . . . . . . . . . TOOBJ /QSYS.LIB/K211.LIB/SR1.FILE/CAL
- LSTACK4.MBR
- Symbolic link . . . . . . . . . SYMLNK *NO
- From CCSID . . . . . . . . . . . FROMCCSID *OBJ
- To CCSID . . . . . . . . . . . . TOCCSID *OBJ
- Data Format . . . . . . . . . . DTAFMT *BINARY
- Directory subtree . . . . . . . SUBTREE *NODIR
- Replace object . . . . . . . . . REPLACE *YES
- Owner . . . . . . . . . . . . . OWNER *NEW
- Authority . . . . . . . . . . . AUT *OBJ
-
-
- Error for above command:-
-
- Additional Message Information
-
- Message ID . . . . . . : CPFA098 Severity . . . . . . . : 40
- Message type . . . . . : Diagnostic
- Date sent . . . . . . : 06/27/23 Time sent . . . . . . : 13:41:53
-
- Message . . . . : The CCSID of the target file could not be set to match the
- CCSID of the source file.
- Cause . . . . . : The copy operation failed because the coded character set
- identifier (CCSID) of the target file could not be set to match the CCSID of
- the source file. This could happen for one of the following reasons:
- -- The file system you are copying into does not support the setting of
- CCSIDs.
- -- You are attempting to copy into a database file member (.MBR) and the
- member could not be created with the same CCSID as your source file. This is
- because members must have the same CCSID as the database file (.FILE) they
- are in. The database file's CCSID does not match that of your source file.
- Recovery . . . : For a database file member, copy to a member of a database
- More...
- Press Enter to continue.
-
-
|
|
|