IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
 View Only
  • 1.  SAP

    Posted 6 hours ago

    Good Morning

    I must to upgrade sapcryptolib, I download file .sar for os400 from sap portal, I close sap envoirement, save .sar in a folder and give this command

    APYSIDKRN SID(DEV) ARCHIVES('/*.SAR')

    But I have this error, object it's existent in folder

    APYSIDKRN SID(DEV) ARCHIVES('/*.SAR') INFOAPAR('/usr/sap/trans/config/info 
    apar.720')                                                                 
    Now analyzing values of profile /sapmnt/DEV/profile/DEFAULT.PFL            
    Ownership of object GETOBJINF in QTEMP type *USRSPC changed.               
    Buffering profile values into /usr/sap/tmp/sappfpar/DEV/DEFAULT.PFL        
    Using buffered profile values for /sapmnt/DEV/profile/DEFAULT.PFL          
    Authority given to user R3GROUP for object QRPLOBJ in QSYS object type     
      *LIB.                                                                    
    Object authority granted.                                                  
    Authority given to user R3GROUP for object RSTOBJ in QSYS object type      
      *CMD.                                                                    
    Object authority granted.                                                  
    Patch Apply Process (with statistics) is run from SAPDEVIND/CMDMAINQ at    
      Thu Oct 23 09:34:00 2025                                                 

     Current directory changed.  

                                                                              
       Input argument 1: ---> APYSAP <---                                     
       Input argument 2: ---> DEV <---                                        
       Input argument 3: ---> /*.SAR <---                                     
       Input argument 4: ---> *STANDARD <---                                  
       Input argument 5: ---> *DEFAULT <---                                   
       Input argument 6: ---> *NONE <---                                      
       Input argument 7: ---> *ADD <---                                       
       Input argument 8: ---> *YES <---                                       
       Input argument 9: ---> *YES <---                                       
       Input argument 10: ---> /usr/sap/trans/config/infoapar.720 <---        
       Input argument 11: ---> *ENV <---                                      
       Input argument 12: ---> *ENV <---                                      
       Program delivered with ILE patch 700                                   
       Link added.                                                            

                                                                                
       Info: directory '/sapmnt/DEV' points to '*LOCAL'                         
       Now analyzing values of profile /sapmnt/DEV/profile/START_DVEBMGS00_SAP01
       Buffering profile values into                                            
         /usr/sap/tmp/sappfpar/DEV/START_DVEBMGS00_SAP01                        
       Using buffered profile values for                                        
         /sapmnt/DEV/profile/START_DVEBMGS00_SAP01                              
       Now analyzing values of profile /sapmnt/DEV/profile/DEV_DVEBMGS00_SAP01  
       Buffering profile values into                                            
         /usr/sap/tmp/sappfpar/DEV/DEV_DVEBMGS00_SAP01                          
       Using buffered profile values for /sapmnt/DEV/profile/DEV_DVEBMGS00_SAP01
       Logfile '/sapmnt/DEV/patches/log/apysidkrn1761204840.log' closed.        
       Object changed.                                                          
       Current directory changed.                                                                                       
     APYSIDKRN: Invalid SAR-Archive '/*.SAR' - object cannot be found at  
       indicated position.    

    Thank you for your help                                           



    ------------------------------
    Marco Pandolfo
    ------------------------------


  • 2.  RE: SAP

    Posted 15 minutes ago
    Edited by Rohit Chauhan 14 minutes ago

    Hello Marco,

    As i can see from the logs it's not able to locate the SAR files. Shouldn't the ARCHIVES parameter specify the directory where this .SAR files are located?

     Example :  APYSIDKRN SID(DEV) ARCHIVES('/directoryname/*')



    ------------------------------
    Rohit Chauhan
    Senior Technical Specialist
    Norway
    ------------------------------



  • 3.  RE: SAP

    Posted 10 minutes ago

    Hello,

    I select witk * and file name but not works



    ------------------------------
    Marco Pandolfo
    ------------------------------



  • 4.  RE: SAP

    Posted 36 seconds ago

    Hi,

    Is the error still the same? Is the 'krn' directory located under the root? If not, please try specifying the full path.



    ------------------------------
    Rohit Chauhan
    Senior Technical Specialist
    Norway
    ------------------------------