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:
  1.  
  2.  
  3. **************
  4.                                 Copy Object (CPY)                               
  5.                                                                                 
  6.  Type choices, press Enter.                                                     
  7.                                                                                 
  8.  Object . . . . . . . . . . . . . OBJ          > '/home/K21/Callstack.txt'      
  9.  To directory . . . . . . . . . . TODIR          '.'                            
  10.                                                                                 
  11.  To object  . . . . . . . . . . . TOOBJ          /QSYS.LIB/K211.LIB/SR1.FILE/   
  12.                                                                                 
  13.  Symbolic link  . . . . . . . . . SYMLNK         *NO                            
  14.  From CCSID . . . . . . . . . . . FROMCCSID      *OBJ                           
  15.  To CCSID . . . . . . . . . . . . TOCCSID        *OBJ                           
  16.  Data Format  . . . . . . . . . . DTAFMT         *BINARY                        
  17.  Directory subtree  . . . . . . . SUBTREE        *NODIR                         
  18.  Replace object . . . . . . . . . REPLACE        *NO                            
  19.  Owner  . . . . . . . . . . . . . OWNER          *NEW                           
  20.  Authority  . . . . . . . . . . . AUT            *OBJ                           
  21.                                                                                 
  22.                                                                                 
  23.                                                                                 
  24.                                                                          Bottom 
  25.  
  26. Error:-
  27.  
  28. Message ID . . . . . . :   CPFA0A0       Severity . . . . . . . :   40         
  29. Message type . . . . . :   Diagnostic                                          
  30. Date sent  . . . . . . :   06/27/23      Time sent  . . . . . . :   13:39:56   
  31.                                                                                
  32. Message . . . . :   Object already exists.  Object is                          
  33.   /QSYS.LIB/K211.LIB/SR1.FILE/.                                                
  34. Cause . . . . . :   A create operation was attempted on object                 
  35.   /QSYS.LIB/K211.LIB/SR1.FILE/.  This object already exists.                   
  36. Recovery  . . . :   Use a unique name for the object, and retry the operation. 
  37.                                                                                
  38. *******************************
  39.                                 Copy Object (CPY)                               
  40.                                                                                 
  41.  Type choices, press Enter.                                                     
  42.                                                                                 
  43.  Object . . . . . . . . . . . . . OBJ          > '/home/K21/Callstack.txt'      
  44.  To directory . . . . . . . . . . TODIR          '.'                            
  45.                                                                                 
  46.  To object  . . . . . . . . . . . TOOBJ          /QSYS.LIB/K211.LIB/SR1.FILE/CAL
  47. LSTACK4.MBR                                                                     
  48.  Symbolic link  . . . . . . . . . SYMLNK         *NO                            
  49.  From CCSID . . . . . . . . . . . FROMCCSID      *OBJ                           
  50.  To CCSID . . . . . . . . . . . . TOCCSID        *OBJ                           
  51.  Data Format  . . . . . . . . . . DTAFMT         *BINARY                        
  52.  Directory subtree  . . . . . . . SUBTREE        *NODIR                         
  53.  Replace object . . . . . . . . . REPLACE        *YES                           
  54.  Owner  . . . . . . . . . . . . . OWNER          *NEW                           
  55.  Authority  . . . . . . . . . . . AUT            *OBJ                           
  56.                                                                                 
  57.                                                                                 
  58. Error for above command:-
  59.  
  60.                         Additional Message Information                         
  61.                                                                                
  62. Message ID . . . . . . :   CPFA098       Severity . . . . . . . :   40         
  63. Message type . . . . . :   Diagnostic                                          
  64. Date sent  . . . . . . :   06/27/23      Time sent  . . . . . . :   13:41:53   
  65.                                                                                
  66. Message . . . . :   The CCSID of the target file could not be set to match the 
  67.   CCSID of the source file.                                                    
  68. Cause . . . . . :   The copy operation failed because the coded character set  
  69.   identifier (CCSID) of the target file could not be set to match the CCSID of 
  70.   the source file. This could happen for one of the following reasons:         
  71.     -- The file system you are copying into does not support the setting of    
  72.   CCSIDs.                                                                      
  73.     -- You are attempting to copy into a database file member (.MBR) and the   
  74.   member could not be created with the same CCSID as your source file. This is 
  75.   because members must have the same CCSID as the database file (.FILE) they   
  76.   are in. The database file's CCSID does not match that of your source file.   
  77. Recovery  . . . :   For a database file member, copy to a member of a database 
  78.                                                                        More... 
  79. Press Enter to continue.                                                       
  80.                                                                                
  81.  
© 2004-2019 by midrange.com generated in 0.006s valid xhtml & css