Return code 127 for gzip command

Dear All,
             While i am trying to ZIP a flat file using below piece of code,
  CONCATENATE 'gzip'
              lf_unix_fnam
                      INTO lf_folder_z
                            SEPARATED BY space.
  CALL 'SYSTEM' ID 'COMMAND' FIELD lf_folder_z
                ID 'TAB'     FIELD lt_result.
This code was working previously.  But now it is returning an 127 as return code and my file is not getting zipped due to this. Any details about return code 127 would be a greate help.
Thanks in advance
Jijeesh

Hi Sai,
CONCATENATE 'gzip'
lf_unix_fnam
INTO lf_folder_z
SEPARATED BY space.
CALL 'SYSTEM' ID 'COMMAND' FIELD lf_folder_z
ID 'TAB' FIELD lt_result.
in my lf_unix_fnam i have /transfer/data/DEV/file1 which is the path and file name.  so for lf_folder_z I will be having gzip /transfer/data/DEV/file1
so after above command I am expecting file1.gz in path /transfer/data/DEV/
but i am gettting a return code 127.  Could you please help.
Thanks in advance.
Jijeesh

Similar Messages

  • Return Code - Query for Multiple Rows as XML

    Hi,
    I'm executing an MSSQL stored procedure through the "Query for Multiple Rows as XML" activity in LiveCycle ES. I do this through a call statement such as this:
    { call MyStoredProc(?) }
    This works great, the stored procedure always returns a record set (with or without records). I use this activity rather than "Call Stored Procedure" because I can transform the record set into XML right away within this activity. Unfortunately any exception arising from invoking this stored procedure cannot be handled within the workflow as this activity does not have an exception handler (lightning bolt). In an attempt to handle at least some exceptions we have decided to use try/catches within the stored procedures and return different error codes. Now the problem I am faced with is that there is no way to retrieve the returned code within any of the SQL activities. We don't want to have to write an execute script for each of these SQL calls. Is there any way to do this? Seems like I'm 95% there.
    Thanks
    Nic

    Thanks for the offer, unfortunately we would need something certified by Adobe.
    Nic

  • Transport fails with return code 12 for 0CHANOTASSIGNED Characteristics

    Dear Experts,
    I am transporting the 0CHANOTASSIGNED characteristics from BI Dev to BI QA.
    In BI Dev, I use the option Necessary Object.
    While importing request into BI QA, it fails with a return code 12. Some of the errors are:
    Start of the after-import method RS_IOBJ_AFTER_IMPORT for object type(s) IOBJ (Activation Mode)
    System error in lock management
    Error AD 025 during after import handling of objects with type(s) IOBJ
    Start of the after-import method RS_IOBC_AFTER_IMPORT for object type(s) IOBC (Activation Mode)
    Error when checking the InfoObjectCatalog 0CHANOTASSIGNED
    InfoObject 0ABCINDIC is not available in active version
    InfoObject 0ABCPRC_TYP is not available in active version
    InfoObject 0ABCPROCESS is not available in active version
    InfoObject 0ACCT_TYPE is not available in active version
    InfoObject 0ACTIONREAS is not available in active version
    This goes on for lot of infoobjects. If I were to goto RSA1 of BI QA and check any of the above objects, they are 'INACTIVE'.
    But they are 'ACTIVE' in BI Dev.
    Please help me in resolving this issue.
    Thanks and BR,
    Raj Jain

    Hi I.R.K,
    I recreated a trasnport for just one Infoobject (0ABCINDIC) which was one of the objects not active as shown in the logs of BI QA while transport.
    I did not make any changes or delete any data etc. I then just transported these request from BI Dev to BI QA.
    The transport was successful with return code 0. I then checked this object in RSD1 of BI QA and it was activated.
    Any ideas what may be the cause???
    Thanks,
    Raj Jain

  • Transport error failure with return code 12 for BIA indexed Cube

    Hello,
    I was trying to transport few cubes from the Dev to the QA system. However, the transport failed repeatedly with return code 12. I noticed that the version of Cubes in the target system had BIA indexes loaded on it.   So, I deleted those indexes and re-transported the cubes.To my surprise, the transport went fine without the BIA indexes. This now opens up a new avenue for discussion of dropping and recreating BIA indexes for those cubes that needs to be transported.
    Any thoughts on this new aspect before. Has anyone faced similar problems. I want to know your experiences before we can take this issue to SAP.
    Thanks,
    Rishi

    Rishi/Vitaly/Marc,
    How do you transport cubes with BIA indexes.
    Do you drop/recreate the BIA index before the transport.
    In my case, the transport kicked off adjustment job exactly as described in [Note 1012008|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1012008]
    Indexes looks fine once this jobs completes successfully. The transport does not fail.
    Is this approach fine.
    I see that most of the customers drop/recreate indexes before transporting cubes.
    Can I run into data consistency issues with this approach?
    Input required.
    Thanks,
    Saurabh

  • Return code 99 for BPM

    Hi All,
    In sxi_cache for Integration Process the return code is 99.It should be 0.I have created BPM again but still that problem presists.when i post message it is not entering BPE engine.
    Could you please help me on this?
    Best Regards,
    Harleen Kaur Chadha

    hi,
    Refer My article:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/80a22ce8-8e72-2b10-3fba-e9511c6f0b8b
    Regards
    Mamta

  • Codelite: Program exited with return code: 127

    I installed codelite from AUR. When I try to make a simple "Hello world", this is what I get.
    Not even a new window.
    I try the same code in a Ubuntu machine, and it works. So I think there are some libraries missing right?

    Sorry if this counts as a necropost, but I just had this same issue and managed to solve it.
    Yes, the 127 means "Command not found," but it has nothing to do with user input. If you check the console, CodeLite is trying to run something like this:
    /usr/bin/codelite_xterm './YourProgram ' '/bin/sh -f /usr/bin/codelite_exec ./YourProgram'
    Coincidentally, if you run /usr/bin/codelite_xterm yourself with no arguments, it will still return 127. This is because it tries to invoke xterm, which isn't installed.
    The CodeLite AUR package needs to depend on xterm to avoid this - I'll bother the packager.

  • Return Code = 12 for LSMW data read

    Hi all,
    I am executing an LSMW that will change 27 classifications for each materials. I have tested running a file with only 100 materials and all is good. Now I am testing a file with 40k materials (90MB file size) but when trying to "read data" from the imported file I get 'Error when uploading file 'J:\Unilever\Test Load LSMW files for 10-01-08\40k'  'Message no. /SAPDMC/LSMW_OBJ_070010'.
    I am guessing there's a file size maximum which I have exceeded and that's why the LSMW is not capable of reading it but there in the past has been successfull executions of 25k - 50k materials...
    Any help is appreciated, thanks!

    There is also a limit on the length of the file name (with the directory structure). Please try reading the same file from the J drive (not under any subdirectory).
    Hope this helps.
    Lakshman

  • Server returned response code 500 for the url

    I have an applet which connects to a servlet.I have just upgraded from Java 1.5_06 to Java 1.6_027.
    I have a login.html which opens up when i hit the url http://localhost:80/test/testlogin.html.
    The IIS 7 opens this page and then when I provide login credentials it should connect to the testServlet but I get
    an IOException at the line
    ObjectOutputStream out = new ObjectOutputStream(conn.getOutputStream());
    saying 'Server returned code 500 for the url http://localhost:80/test/testServlet.class
    I am using the following lines of code
    conn = servletURL.openConnection();
    conn.setDoOutput(true);
    conn.setUseCaches(false);
    conn.setRequestProperty("Content-Type", "application/octet-stream");
    ObjectOutputStream out = new ObjectOutputStream(conn.getOutputStream());
    This code use to work fine with Java 1.5 but it doesnt work after the upgrade.
    I am not sure if it is a Java problem or IIS or Weblogic.
    Please help
    Thanks,

    885522 wrote:
    I have an applet which connects to a servlet.I have just upgraded from Java 1.5_06 to Java 1.6_027.
    I have a login.html which opens up when i hit the url http://localhost:80/test/testlogin.html.
    The IIS 7 opens this page and then when I provide login credentials it should connect to the testServlet but I get
    an IOException at the line
    ObjectOutputStream out = new ObjectOutputStream(conn.getOutputStream());
    saying 'Server returned code 500 for the url http://localhost:80/test/testServlet.class
    I am using the following lines of code
    conn = servletURL.openConnection();
    conn.setDoOutput(true);
    conn.setUseCaches(false);
    conn.setRequestProperty("Content-Type", "application/octet-stream");
    ObjectOutputStream out = new ObjectOutputStream(conn.getOutputStream());
    This code use to work fine with Java 1.5 but it doesnt work after the upgrade.
    I am not sure if it is a Java problem or IIS or Weblogic.
    Please help
    Thanks,Well, HTTP 500 is Server Exception, look at the server logs and find out why it threw a 500.

  • ODI Session task reverse fails with return code 7000

    WARNING ODI-1134 Agent Test encountered an error: ODI-12: Step Hyperion Planning ODI fails after 1 attempt(s).
    2013-10-28 16:14:38.471 ERROR ODI-1217 Session Hyperion Planning ODI (23121) fai
    ls with return code 7000.in the Command prompt
    Target Code in session task reverse
    from java.util import HashMap
    from java.lang import Boolean
    from com.hyperion.odi.common import ODIConstants
    from com.hyperion.odi.common import ODIModelImporter
    from com.hyperion.odi.connection import HypAppConnectionFactory
    # source planning connection properties
    serverName = "192.168.0.105:19000"
    userName    = ""
    password   =  "<@=snpRef.getInfo("SRC_PASS") @>"
    application   = "FirstApp"
    srvportParts = serverName.split(':',2)
    srvStr =  srvportParts[0]
    portStr = srvportParts[1]
    # Put the connection properites and initialize the planning loader
    srcProps = HashMap()
    srcProps.put(ODIConstants.SERVER,srvStr)
    srcProps.put(ODIConstants.PORT,portStr)
    srcProps.put(ODIConstants.USER,userName)
    srcProps.put(ODIConstants.PASSWORD,password)
    srcProps.put(ODIConstants.APPLICATION_NAME,application)
    imod =  4121 
    #get planning connection
    hApp = HypAppConnectionFactory.getAppConnection(HypAppConnectionFactory.APP_PLANNING, srcProps);
    #get connection to repository
    repCon = odiRef.getJDBCConnection("DEST")
    # START THE REVERSE
    odiModelImporter = ODIModelImporter(imod, hApp, repCon)
    odiModelImporter.importModels()

    yes , I have entered all the details in the Topology for Planning Data server, [ since it is Hyperion Planning the test connection is disable]
    The created agent  test connection also successfull But still it is not connecting .GEtting the
    Error :-
    2013-10-29 10:14:52.151 NOTIFICATION ODI-1137 Scheduler started for work reposit
    ory WORKREP121 on Agent Test.
    2013-10-29 10:15:35.664 WARNING ODI-1134 Agent Test encountered an error: ODI-12
    26: Step Hyperion Planning ODI fails after 1 attempt(s).
    2013-10-29 10:15:35.665 ERROR ODI-1217 Session Hyperion Planning ODI (24121) fai
    ls with return code 7000

  • HTTP Return Code Checking on ACE

    Hey there.
    I have a question regarding return code checking for a serverfarm on ACE. I am looking to have the ability to monitor a client's session real-time and monitor return codes passing back from the origin servers to the client.
    For example, if during a client's session there is a single HTTP 500 error code sent from server to client, the intercept that response and first retry the request on a different server in the farm. Or perhaps only if I see three 500 error codes in 30 seconds. Something like that.
    From what I can tell from the docs the retcode check command for a serverfarm is maybe only for statistical purposes?
    Thanks for any help.
    /ahuffer/

    In ACE return codes checking is only used to count number of return codes from Rservers. Unlike CSMs (where return codes were used for inband health monitoring) ACE is not using them for load balancing or inband health
    monitoring. Once you enable return code checking and counting you can then display the return code statistics per serverfarm
    for example
    serverfarm host serverfarm1
    retcode 200 499 check count
    rserver real1
    inservice
    rserver real2
    inservice
    show serverfarm serverfarm1 retcode
    serverfarm : serverfarm1
    rserver : real1
    np : 1
    return code action total count
    +------------+--------+------------+
    200 count 100
    201 count 0
    202 count 0
    203 count 0
    204 count 0
    205 count 0
    206 count 0
    498 count 0
    499 count 0
    Syed

  • Passing return code of SQL*PLUS 'exit' to host

    Say, I am running a sql plus script from the MS windows command prompt, and I am EXITing this script with a return code, do you know how I can capture the return code in the host environment ?

    Greetings,
    If U use a Shell script to invoke the SQLPLUS then U could use '$?' to see the return code.
    For Example,
    sqlplus -s > <<EOF
    connect USER_PSWD_DB
    column num_rows new_value num_rows format 9999
    select x num_rows from table_name;
    EXIT num_rows
    EOF
    if [ $? == 2 ]; then
    echo "Process failed..."
    fi
    Regards,
    Badhri ...

  • Getting return code from remote script after Unix rsh call

    I hope one of you guys can help me with this issue. I think I've gotten the 'rsh' command to work from the CES application so that the sqr report generation can execute on a remote machine (instead of the app server machine). I'm actually doing this by having the app still execute the ces_sqr script, however, now the ces_sqr script will just have an 'rsh' command in it which will cause the actual real sqr processing to occur remotely.
    I am executing a Unix script which does a remote shell call to another script on a remote machine. The remote script sends a return code when run locally, however, how can I get the calling rsh script to get that return code?
    If I do the following in the rsh script:
    rsh -l resdev morph "/dev/bin/remote_script"
    rc=$?
    echo "$rc\n"
    then the return code that I get is not actually the return code from the remote_scrpit, but it is the return code from the rsh command that is 0 (success) because the rsh command actually executed successfully even though the remote_script could've returned something other than success. How can I get the return code from the remote_script passed back to the rsh calling script?
    Jan Miller
    [email protected]
    202-237-9584

    Please ignore the first paragraph of my previous post.

  • What is return code -30953 fro importfile?

    PB 12.5.1 (build 4015)
    The return code from an importfile command is -30953.
    li_return   = parent.dw_process.ImportFile (ls_pathname)
    The file is a csv file that contains 34583 records.
    Can somebody please confirm this is a maximum number of rows error.
    Also, I assume my option is to split the file into two files to process.

    Hi Da;
      ImportFile only has 15 error codes. On a positive return number though the import lets you know how many rows were successfully imported. However, the return value is a long. Did you use an Integer by chance?
    Regards ... Chris

  • Communication error, CPIC return code 017, SAP return code 223

    In sm59 its throughing error Communication error, CPIC return code 017, SAP return code 223 for SAPOSS connection.

    Return code 223 is  Network read error.
    Check out SAP Note : 421558, it may help you.
    Regards,
    Zaheer

  • /SAPAPO/OM102 and return code 40.050

    Hi Experts,
    Please help me regarding the error message in interactive demand planning screen Error for COM routine using application program message "/SAPAPO/OM102 and return code 40.050 "
    Thanks
    Sree

    Hi Sree,
    You can check out the details of OM102 error messages in transaction /SAPAPO/OM10 by specifying the return code.
    For your error the detailed message says:
    Relation does not exist
    Message no. /SAPAPO/OM_TS050
    Diagnosis
    A function module was opened with a relation that does not exist in liveCache.
    Procedure
    Open an SAP Support message as described in SAP Note 167280.
    I suggest you do as the message suggests and open an OSS message for it. It doesn't seem like an error you can resolve with a simple consistency check run.

Maybe you are looking for

  • Patch for Dreamweaver CS5 or 6 from Poodle Vulnerability

    GoDaddy ran a security patch for Poodle and now Dreamweaver can't connect. FTP over SSL/TLS explicit encryption is used. Is there a patch from Adobe for Dreamweaver?

  • Why will my iphone 4s not accept my credit card

    Why is my iphone 4s not accepting my credit card always comes back with declined no matter how much money i have in my account

  • Output a derived column to a flatfile destination

    I'm a newbie. My source is a sql server table. Then I dropped a derived column icon. And finally a flatfile destination. When I open the flatfile destination, it does show the new column as 'Derived Column 1' in the Available Input Columns, but it's

  • Payment Term Restricted & PLD

    Hi experts, I met the problems bellow : 1.  To payment term restriction because the payment terms in Sales Order --> Accounting --> Payment Terms is always change if users filled in Payment Term. How to restricted it ? 2. How to set in PLD to differe

  • Install Reader 11.0.9 using SCUP

    Hi We use SCCM 2012 and have just started to use SCUP recently, we have used it update Flash player without problems, so we know the setup is working. We have Reader 11.0.8 on all our workstations (installed via application package in SCCM 2012). But