How to identify if the COBOL ran successfully from app engine?

I have scheduled a COBOL process from App Engine. Once it ran successfully, i need to start another process. How to accomplish this in App engine peoplecode? Is there any flag updated on the successfull run of the cobol process? How to handle when the cobol did not run successfully?

Refer to PeopleBooks
http://peoplebooks.cognizant.com/PSOL/PT848/eng/psbooks/tpcl/chapter.htm?File=tpcl/htm/tpcl02.htm%23H4529
Sample code from PBooks Pasted below
Rem Set the return code so we are sure it is sent back.
&Returncode = -1;
Rem Set the parameters that will be sent across.
&param1 = "John";
&param2 = "Smith";
Rem Set the standard parameters that indicate program name and run-control.
&RemoteCobolPgm = "CBLPROG1";
/* call the remote function */
RemoteCall ("PSRCCBL",
"PSCOBOLPROG", &RemoteCobolPgm,
"PSRUNCTL", workrec.runctl,
"FirstName", &param1,
"LastName", &param2,
"Returncode", &Returncode,
"MessageSet", &msgset,
"MessageID", &msgid,
"MessageText1", &msgtext1,
"MessageText2", &msgtext2);
if &Returncode <> 0
WinMessage(MsgGet(&msgset, &msgid, "default message", &msgtext1, &msgtext2));
end-if;

Similar Messages

  • How can i change the email and user from app store?

    I have a iPhone thats a FIFA from my daugther and she has an account in the app store, i an trying ti configure my app account and the sistem Does not permit me to do it, my question is how can i do to solve my problem thanks

    If you mean that you are trying to change the Apple ID used for purchasing apps, go to Settings>Store, tap the Apple ID at the bottom, sign out, then sign back in using the ID you want to use.

  • Going from Mavericks back to Mountain Lion, how do I download the correct software versions from app store for apps like iPhoto etc.

    I have a somewhat older iMac and after installing Mavericks the computer slowed down and the harddrive died. I just got a new harddrive installed and they had trouble getting mavericks to work on it also so they installed Mountain Lion which I am pleased with. I have purchased apps from the app store such as iPhoto and Pages, etc. so I thought I would easily be able to download them for mountain lion. When I look for the apps to download on the app store it lists the versions I had with Mavericks. iPhoto for example says I can download it for free but in the compatibility sections it says it requires OS 10.9 or later. Where can I find and install versions of my software such as iPhoto and iLife that will work again with Mountain Lion?

    Try downloading an app. There are those here who believe that the MAS will determine that you have OS X Mt Lion and actually download the app that your kit needs.

  • How to identify whether the data extracted is direct, queued, unserialized

    hi,
    how to identify whether the data extraction from r/3 is direct, queued and unseralized data.
    can anyone let me know abt it
    regds
    hari

    hI,
    Direct Delta: With this update mode, the extraction data is transferred with each document posting directly into the BW delta queue. In doing so, each document posting with delta extraction is posted for exactly one LUW in the respective BW delta queues.
    This update method is recommended for the following general criteria:
    a) A maximum of 10,000 document changes (creating, changing or deleting documents) are accrued between two delta extractions for the application in question. A (considerably) larger number of LUWs in the BW delta queue can result in terminations during extraction.
    b) With a future delta initialization, you can ensure that no documents are posted from the start of the recompilation run in R/3 until all delta-init requests have been successfully posted. This applies particularly if, for example, you want to include more organizational units such as another plant or sales organization in the extraction. Stopping the posting of documents always applies to the entire client.
    Queued Delta: With this update mode, the extraction data is collected for the affected application instead of being collected in an extraction queue, and can be transferred as usual with the V3 update by means of an updating collective run into the BW delta queue. In doing so, up to 10000 delta extractions of documents for an LUW are compressed for each DataSource into the BW delta queue, depending on the application.
    new queued delta
    This update method is recommended for the following general criteria:
    a) More than 10,000 document changes (creating, changing or deleting a documents) are performed each day for the application in question.
    b) In future delta initializations, you must reduce the posting-free phase to executing the recompilation run in R/3. The document postings should be included again when the delta Init requests are posted in BW. Of course, the conditions described above for the update collective run must be taken into account.
    Non-serialized V3 Update:With this update mode, the extraction data for the application considered is written as before into the update tables with the help of a V3 update module. They are kept there as long as the data is selected through an updating collective run and are processed. However, in contrast to the current default settings (serialized V3 update), the data in the updating collective run are thereby read without regard to sequence from the update tables and are transferred to the BW delta queue.
    unserialized v3 update
    This update method is recommended for the following general criteria:
    a) Due to the design of the data targets in BW and for the particular application in question, it is irrelevant whether or not the extraction data is transferred to BW in exactly the same sequence in which the data was generated in R/3.
    take a look Roberto's weblog series
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    /people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    /people/sap.user72/blog/2005/04/19/logistic-cockpit-a-new-deal-overshadowed-by-the-old-fashioned-lis
    https://weblogs.sdn.sap.com/pub/wlg/126 [original link is broken] [original link is broken] [original link is broken]
    doc
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    and oss note 505700
    Re: delta methods
    go throuth the previous thread
    Delta types
    hope it helps..

  • Re: How I would make the Toshiba AC100 successful

    Hi All,
    I post my ideas for improvements here, maybe someone from Toshiba reads this.
    The original blog post is here:
    http://soltesza.wordpress.com/2011/05/09/how-i-would-make-the-toshiba-ac100-successful/
    Please feel free to contribute here or at the blog post.
    The AC100 is an early attempt from Toshiba to create an ARM based netbook (a smartbook) with Nvidia's successful Tegra2 chipset.
    Although, the AC100 looks like proper hardware design, it became only
    mildly successful. Some of the reasons may have to do with the primary
    operating system, Android ([see my earlier article about this|http://soltesza.wordpress.com/2010/06/27/toshiba-a100-smartbook-with-android-but-why/]) but even more can be attributed to the design decisions Toshiba made.
    Since these machines are now available in my home country (Hungary)
    at quite attractive price points (~$250 USD, some people seem to be
    trying to get rid of it soon after purchase) I can't help bumping into
    it all the time. Sinc[View post|http://soltesza.wordpress.com/2011/05/09/2011/05/09/how-i-would-make-the-toshiba-ac100-successful/]e
    I am a gadget fan, I always have my hand trembling seeing those prices
    and I need to cool myself down before doing some impulse-buy I regret
    later.
    What could make me click on the "Buy" button?
    *More memory*
    First of all, 1-2GB of RAM instead of the measly 512MB the AC100
    hosts. Why the heck tried Toshiba sell a netbook with 512MB of RAM when
    ALL of the Atom N450 netbooks seemed to come with 2 GB at that time?
    This amount of RAM would allow to slap Ubuntu onto the machine and not
    worry about running out of memory when loading up OpenOffice. Ubuntu has
    been demonstrated on the AC100 and even looks snappy. (see this [site dedicated to Ubuntu on the AC100|http://tosh-ac100.wetpaint.com/]). Toshiba could easily put 2GB of RAM into the machine without major cost-increase.
    *Desktop OS and/or Android*
    Putting 1-2GB of RAM into the AC100 would open the gate for using a
    proper, netbook-oriented desktop OS which can take advantage of the
    form-factor. They should use Ubuntu, since that could be fixed up on
    this hardware in no time (especially if they purchase some consultancy
    from Canonical).
    I don't think that Android needs to stay on the machine but if
    Toshiba still thinks it is such a good idea for any user-group, they
    could make the AC100 dual-boot, or even better, run both OSes in
    parallel (2GB of RAM would make this absolutely possible). Android would
    be the light-and-easy OS on the device but the user could any time
    switch to a full Ubuntu desktop with an Android launcher icon and start
    using OpenOffice or other decent desktop software. The
    paravirtualization developed by B-labs would be an [instant solution |http://armdevices.net/2011/04/04/android-virtualization-on-ti-omap4-processors-dual-core-cortex-a9/]for this problem and would future proof the machine for a possible Windows8 scenario later.
    *More battery*
    The 8 hour runtime of the AC100 is decent enough but more
    battery-time is always welcome. The enclosure has a LOT of free/empty
    space under the keyboard due to the ultra-compact nature of Tegra2 and
    its supporting circuitry. Toshiba should again take advantage of the
    form-factor and add one or more extra battery docking bays under the
    keyboard which could extend the runtime to 16-24 hours. (Admittedly,
    they would make the unit weight much more but since these batteries
    would be optional, this decision would be up to the user. A 24-hour
    runtime with a 3-battery arrangement would make the AC100 extremely
    appealing for a large-set of users. It would be acceptable that the
    batteries are charged in series (so the recharge process is lengthier)
    so that Toshiba doesn't have to switch to a more expensive power supply.
    (Although the power supply issue is probably not a serious cost
    factor).
    *What else*
    Of course, there would be a lot of things to be improved (more USB
    ports, higher-resolution display...etc) but I tried to draw up things
    which require smaller redesign so that an improved version could be
    implemented faster.
    I believe the AC100 line could be made really successful and Toshiba should take steps to make this happen.

    hi there,
    I'm new here and I need support from someone...
    I buy notebook toshiba ac100 3 weeks before and I suffer major problem...
    something happened with my screen , I press the power button and notebook is running /I can tell from turning on play-multimedia button for music and it plays music/ but the screen is not running !
    I try many many things, like only on A/C , only on battery , pushing button for switch between screen and ext.monitor , but unfortunately - the screen was still black !
    so I connect to flat tv with HDMI cable, and there you go - i have the screen ot the TV , but only there !
    my question is this is problem with the screen or something I do wrong ?!
    thank you in advance.
    regards.

  • How to identify all the child tables referencing a master table

    Hi,
    How to identify all the child tables referencing a master table.
    Could you please help me...
    Thanks in advance...

    Hi!
    You may use this query:
    SELECT master.table_name, child.table_name
    FROM   user_constraints master, user_constraints child
    WHERE  master.table_name IN ('REGIONS')
      AND  master.constraint_name = child.r_constraint_name
    /yours sincerely
    Florian W.

  • HOW TO IDENTIFY WHILE THE CONNECTION IS DISCONNECTED?

    IN POP3 EMAIL CLIENT USING J2ME
    HOW TO IDENTIFY WHILE THE CONNECTION DISCONNECTED IN RUNNING APPLICATION.
    AND HOW TO EXIT, WHILE THE CONNECTION IS DISCONNECTED.
    THANKS IN ADVANCE
    edward

    WHEN YOU TRY TO USE THE CONNECTION THAT IS CLOSED, YOU'LL GET AN IOEXCEPTION. TO CHECK THIS, YOU'LL HAVE TO DO SOMETHING LIKE POLLING IF THE OTHER SIDE IS STILL LISTENING BY SENDING IT AN ACK MESSAGE AT SPECIFIC INTERVALS. IF YOU GET AN EXCEPTION, THE CONNECTION WAS CLOSED.

  • How can I improve the rate of success in Siri recognizing what I am sayin (rate of success nil, to date).

    How can I improve the rate of success in Siri recognizing what I am saying (rate of success nil, to date)?

    justjesper wrote:
    Excelent question.
    I have been searching around, and it looks like a lot of users is asking this question.
    Where can I make Siri learn my accent ? Some users was talking about a feature where you could correct Siri so it would learn, but I have not been able to find it.
    Nor have I, but it does seem to get better as I go along, so maybe it learns.

  • How to identify a One time Customer in Oracle Apps AR

    Hello,
    How to identify a One time Customer In Oracle APps AR?
    Is it possible to find out how many number of transactions a Customer does so that, if the number of transactions is 1, then that customer is a one time customer. or else he is not?
    Thank you
    Bob

    Hi Bob,
    to my knowledge, i cannot recollect a seeded report from oracle that could meet your requirement. You can try running the Transaction Register report from your Go live date till now, so that system would generate a list of all the Invoices along with the Customer Name, then you could export this to excel and perform a sort, filter and groupby to get the desired result ....
    However if you are a person with technical expertise, check the table RA_CUSTOMER_TRX_ALL this stores all the transaction related information ..... you can select TRX_NUMBER, BILL_TO_CUSTOMER_ID from this table and perform a count by customer...(I am not sure on the syntax and usage of sql functions) you can get the desired results ...
    Also in future, while creating a new customer if you know well in advance that this customer is going to be an ONE TIME CUSTOMER, there you could capture that information in any unused field on the customer configuration or can enable a DFF and capture this information, so it becomes very easy to identify such customers or have a report built based on it...
    I assume there is an objecive behind trying to find One time customers or customers with a single transaction history ... are you planning to disable/end date/inactivate such customers ....?
    Regards,
    Ivruksha

  • How can I change the formate of @today from (MM/dd/yyy) to (dd-MM-yyyy)?

    I am in openscript, using a settext commend - .setText("{{@today(MM/dd/yyyy), 10-02-2011}}}}"); is anyone know how can I change the formate of @today from (MM/dd/yyy) to (dd-MM-yyyy)?
    I went to Java Code tab and tried to use - new SimpleDataFormat("dd-MM-yyyy").format(new Date()); but not successful. Any help will be appreciated.
    Katherine

    Hi,
    you can display the date format in dd-mm-yy by using the below Java code.
    First import the bellow java classes.
    import java.util.Date;
    import java.text.SimpleDateFormat;
    //and add bellow code in run() function
         //************ Display Date and Time *************
         Date date_format=new Date();
         SimpleDateFormat dateFormat = new SimpleDateFormat("dd-mm-yyyy");// HH:mm:ss");
         String Exec_Time = dateFormat.format(date_format);
    //output statement
    info("Today's Date: "+Exec_Time);
    I can able to add the screenshot of this output here, so if you need any other information please write to me.
    Regards,
    MRSN

  • How can I move the ODI Work Repository from one server to another server?

    How can I move the ODI Work Repository from one server to another server?

    Hi,
    If you would like to move your source models, target models and project contents from Work repository 1 to another work repository.
    I.e. Dev. server to Prod Server.
    1. Firstly, replicate the master repository connections i.e. with same naming conventions manually
    2. Go to Dev. Server work repository -> File Tab -> Click on Export work repository (save it in a folder)
    3. After exporting, you can view the xml files in the folders.
    4. Now, Open the Prod. server and make sure you already replicated mas. rep. details.
    5. Now, right click on model and import source model in synonym mode insert_update (select source model from the folder where your xml file located)
    6. Similarily, import again target then Project.
    Now, check. It should work.
    Thank you.

  • How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks

    How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks

    http://support.apple.com/kb/ht5621

  • I have a power pc (g5) computer that I will soon be replacing with a current i5 or i7 mini. How do I transfer the Time Machine files from the internal hard drive on the G5 to an external drive that I will later use with the Mini?

    I have a Power PC G5 computer that I will soon be replacing with a current i5 or i7 Mini. How do I transfer the Time Machine files from the internal hard drive on the G5 to an external drive that I will later use with the Mini?

    Hi, likely the easiest is to just poll the drive & get something like this...
    Get MacScan...
    http://www.apple.com/downloads/macosx/networking_security/macscan.html
    http://eshop.macsales.com/item/NewerTech/U3NVSPATA/
    But if you have a good external drive already, just clone it.
    Get carbon copy cloner to make an exact copy of your old HD to the New one...
    http://www.bombich.com/software/ccc.html
    Or SuperDuper...
    http://www.shirt-pocket.com/SuperDuper/

  • I have about 800 more songs on my nano than itunes, due to a crash. How can I get the songs onto itunes from the ipod, or at least get the new music ive gotten since the crash onto my ipod without deleting all the other songs when it syncs?

    i have about 800 more songs on my nano than itunes, due to a crash. How can I get the songs onto itunes from the ipod, or at least get the new music ive gotten since the crash onto my ipod without deleting all the other songs when it syncs?

    It has always been very basic to always maintain a backup copy of your computer for just such an occasion.  Use your backup copy to put everything back.
    If you have failed to bakup, then you can transfer itunes purchases from an ipod: File>Transfer Purchases

  • Mail -- How can I change the default email account from which my messages go, without having to change it each time I draft a message?  It currently assumes an email account that I rarely use. Thanks.

    How can I change the default email account from which my messages go, without having to change it each time I draft a message?  It currently assumes an email account that I rarely use. Thanks.

    sorry, but I can't find the mail preference in the latest Yosemite OS. Do you know where I can find it?
    Thank you
    Don

Maybe you are looking for

  • Can I download a spool file from ALV payroll recon report in Fixed Ascii?

    We have a process that imports the spool files from our various nightly payroll recon reports but have recently upgraded to ECC 6.0 and the ALV formatted report does not appear to create a fixed format spool file - the width of the columns changes fr

  • FWZE transaction , call transaction is not working as 4.6C (TR-TM)

    Hi , After upgrade from 4.6C to ECC 6, the call transaction  statement is behaving different. We are using a custom program in which we are calling the standard transaction FWZE . In 4.6C ,After carrying out posting, when we click back, the next stat

  • Panasonic NV GS120

    I recently bought a MacBook and am wondering, seeing as there no firewire input, the best way/ways to get my mini dv files in to the laptop to edit in Imovie? So fare all I've come up with is capture on my windows based pc as an mpeg then import to m

  • No HspEssbaseEnv in java.library.path (Planning + Weblogic + JRockit)

    Hello! When I'm running Planning in 64-bit JRockit JVM in SPARC box, аfter initialization EssBase API, in the log I get the following error: java.lang.UnsatisfiedLinkError: no HspEssbaseEnv in java.library.path at java.lang.ClassLoader.loadLibrary(Cl

  • ARE 1 & ARE3

    Dear SD Teamsters, Reg ARE1 & ARE3 i have some doubts. I had referred the SDN Repository also but could not get clarification. After I had done the configuration for ARE3, with reference to an excise invoice which is created with series group related