Application Engine hangs

Hi
I find that for some reason only programs of type Application Engine are going into queued status.
All the other programs are running fine.
The Process scheduler processes application engine programs only after cancelling all application engine programs in queued status
Can you please let me know what possible causes could be attributed to this behaviour

Cyril
As Nick told, find for earlier AE's that are in error/delete and clean them up from Prcs monitor. then,
*Option1
Reconfigure the prcs scheduler, clear cache and restart back. Check the last one that is in Queued. If it picks UP then let the backlog clears until u trigger a new one.
*Option2
Reconfigure the Prcs Scheduler by selecting 'n' to disable the PSAESRV's, then clear cache and start back.
IN either case you can try increase the logfence in psprcs.cfg so that it gives detailed info in the logs. btw Wat is the Max concurrency set on AE's? is the issue on both NT/UNX?? (or) Just one of them?
vKing.

Similar Messages

  • Help needed creating export file from a file layout with Application Engine

    The following is what I would like to do:
    - Read a record from a PS view
    - Manipulate the data as needed
    - Write the fields out to a file as defined by a File Layout
    - Repeat until no more records are found
    I have created the PeopleSoft Application Engine action listed below. It receives an error "BCUNIT is not a property of class File".
    Local Record &rec1;
    Local File &myFile;
    Local SQL &sQL1;
    /* Create instance of Record */
    &rec1 = CreateRecord(Record.W9M_MBSCRSE_VW);
    /* Instantiate the Output File */
    &myFile = GetFile("c:\temp\help_me.txt";, "A", %FilePath_Absolute);
    If &myFile.IsOpen Then
    If &myFile.SetFileLayout(FileLayout.TACOURIN) Then
    /* Create SQL object to populate rowset */
    &sQL1 = CreateSQL("%Selectall(:1) Where INSTITUTION = :2", &rec1, W9M_MBSCRSE_AET.INSTITUTION);
    /* Cycle through the records */
    While &sQL1.Fetch(&rec1)
    /* I know this section is not coded correctly but I'm not sure how to fix it */
    &myFile.BCUNIT = "1";
    &myFile.BCTCD = &rec.W9M_MBS_TERM_CODE;
    &myFile.BCTYR = &rec.W9M_MBS_TERM_YEAR;
    &myFile.BCDPTN = &rec.ACAD_GROUP;
    &myFile.BCCOUR = substring(&rec.CATALOG_NBR,2,5);
    &myFile.BCSEC = &rec.CLASS_SECTION;
    &myFile.WriteRecord();
    End-While;
    Else
    /* Process FileLayout Error here */
    End-If;
    Else
    /* Process File Open Error here */
    End-If;
    &myFile.Close();
    There are probably a lot of things wrong with this approach and if you could provide some guidance and/or  corrections to the above logic I would greatly appreciate it.
    Another approach?
    After doing a bunch of reading on Application Engine maybe my approach is incorrect. Perhaps I should be doing something like the following:
    - Read a record from a PS view
    - Populate a temporary table manipulating data as it is inserted (Temp table is named according to the file layout fields?)
    - Fetch the records from the temp table and write the record to the file layout.
    - Repeat until no more records are found
    Is this approach better and designed correctly? If not, could you recommend how it should be done? Would the population and reading of the Temp table be done in separate actions or within the same action? Do you know of an Application Engine program that can be used as an example with "like" processing?
    As you can probably tell I haven't used Application Engine before and my goal is to start out on the right path. Thank you for any direction and input that you can provide.
    Steve

    I did and my initial logic was based upon them. I don't see where it shows how to manipulate the data before writing it to the file layout fields. Maybe you can send me a link to that section?
    I was hoping that I would be able to reference the file layout fields directly to allow for manipulating the field values. Re-reading the file layout section and the application engine PeopleBooks I believe I need to create a temporary record which matches the file layout fields; i.e., the second alternative that I listed. Then, make my updates to the temp record fields as I load them. Then, load them to the file layout as a row.
    I'm not sure how this would break down in Application Engine; would the insert into the temp table and the writerecord be different steps/actions, etc.

  • Parallel process in Application engine

    could any one explain me what is parallel process in Application engine where temp table is use?
    give me with example?

    Parallel processing is used when considerable amounts of data must be updated or processed within a limited amount of time, or batch window. In most cases, parallel processing is more efficient in environments containing partitioned data.
    To use parallel processing, partition the data between multiple concurrent runs of a program, each with its own dedicated version of a temporary table (for example, PS_MYAPPLTMP). If you have a payroll batch process, you could divide the employee data by last name. For example, employees with last names beginning with A through M get inserted into PS_MYAPPLTMP1; employees with last names beginning with N-Z get inserted into PS_MYAPPLTMP2.
    To use two instances of the temporary table, you would define your program (say, MYAPPL) to access to one of two dedicated temporary tables. One execution would use A-M and the other N-Z.
    The Application Engine program invokes logic to pick one of the available instances. After each program instance gets matched with an available temporary table instance, the %Table meta-SQL construct uses the corresponding temporary table instance. Run control parameters passed to each instance of the MYAPPL program enable it to identify which input rows belong to it, and each program instance inserts the rows from the source table into its assigned temporary table instance using %Table. The following diagram illustrates this process:
    Multiple program instances running against multiple temporary table instances
    There is no simple switch or check box that enables you to turn parallel processing on and off. To implement parallel processing, you must complete the following set of tasks. With each task, you must consider details regarding your specific implementation.
    Define and save temporary table records in PeopleSoft Application Designer.
    You don't need to run the SQL Build process at this point.
    In PeopleSoft Application Engine, assign temporary tables to Application Engine programs, and set the instance counts dedicated for each program.
    Employ the %Table meta-SQL construct so that PeopleSoft Application Engine can resolve table references to the assigned temporary table instance dynamically at runtime.
    Set the number of total and online temporary table instances on the PeopleTools Options page.
    Build temporary table records in PeopleSoft Application Designer by running the SQL Build process.

  • XML Publisher and Application Engine in Peoplesoft

    How do i write a simple application engine program for an XML Publisher report in Peoplesoft?
    Thanks in advance.
    Message was edited by:
    user611481

    Create sample output data in xml format and create a data source type rowset.
    create the report defination with above data source.
    Create a AE and create the rowset by using peoplecode, run the xmlp report by using PeopleCode and publish it in PeopleCode.

  • SUPPORT APPLICATION ENGINEERING POSITION based in Atlanta

    Averna at a glance:
    Averna delivers industry-leading test solutions and services for communications and electronics device makers worldwide, accelerating product development, quality and innovation.
    Be global@work: Serve international customers and collaborate with colleagues in Canada, the U.S., Mexico, Japan and Hungary.
    Drive innovation@work: Participate in the development of market-leading high-tech products in the telecom, transportation, electronics and multimedia sectors.
    Develop your talent@work: Contribute to thrilling projects that will stretch your skills and talent to the maximum.
    Enjoy success@work: Be part of a fast-growing company with award-winning products and team.
    Share your passion@work: Meet passionate people, enjoy our modern environment and dynamic atmosphere.
    The challenge of the Support Application Engineering position:
    The Support Application Engineering position is responsible for customer technical support and some development activities. The chosen candidate will:
    Develop a deep and broad understanding of Averna tools and products;
    Use the in-house tools to track customer requests;
    Take ownership of problems and see them through to successful resolution;
    Be called to travel about 30% to 50 % of the time.
    Duties and responsibilities:
    Provide primarily first and second tier remote customer support, troubleshooting and solutions for existing customers;
    Diagnose, De-Bug and fix less complicated bugs using but not limited to LabVIEW, TestStand, C, C++,  and/or VHDL;
    Work with senior developers to identify and resolve complicated technical software problems, and some hardware problems;
    Become an Expert User for the Jupiter and Mercury Platform;
    Involved in developing new features and tools;
    Document frequent issues into scripted processes; create FAQ;
    Document required bug fixes, end-user feature improvements, and operations feature improvements;
    Troubleshoot problems and solve the incidents through a methodical and process based approach;
    Reproduce errors reported by clients and escalate to R&D by providing a narrowed down list of possible causes;
    Analyze recurring problems and suggest improvements to Peers in the R&D and Services teams
    Provide thorough root cause analysis to Customers;
    Document troubleshooting flowcharts based on real life scenarios;
    Commit and contribute to a high level customer satisfaction by providing best in class Support and Service;
    Occasional week night or weekend work is required to support customer from different time zones and with urgent requests (approx. 15% of the time).
    Qualifications:
    Bachelor degree in computer science, electrical engineering or computer engineering;
    2-5 years experience solving deployment and support issues is an asset;
    Experience with RF is required; DOCSIS experience is a strong asset;
    Good general computer knowledge (e.g. Windows, TCP/IP networking, FTP) with a strong aptitude for problem solving;
    Experience in software engineering for test platforms or real-time software engineering;
    Able to read engineering design documentation (mechanical, electrical or software);
    Knowledge of broadband and telecommunication industries is an asset;
    Practical experience with LabVIEW, TestStand, TCL programming is an asset;
    Practical experience with MS SQL and MySQL is an asset.
    Comportments/ Behavior
    Ability to quickly learn systems and trouble shoot with the customer live and remotely;
    Pro-activity, autonomy, self motivated individual;
    Likes to interact directly with customers to achieve customer satisfaction with a "can do" attitude, ability to easily establish good relationships with customers;
    Diplomacy, open-mindedness, and patience, great listening;
    Good verbal skills for telephonic work and ability to develop well written documentation;
    Excellent oral and written English communication skills. Chinese Mandarin skills are an asset.
    Please send your resume to [email protected] and mention the title of the position: Support Application Engineering position
    We thank you for your interest towards Averna. Please note that only those candidates being considered for the position will be contacted.

    update : this position is based only in Atlanta

  • CAD Application gets Hanged for UCCE 7.5.1 when agent answered the call for particular location

    Hi All,
    We have a CAD server installed on ICM PG box.
    Two agent location namely X and Y
    Datacenter resided in location X
    Users in location X were not facing any issue
    Users from location Y facing diificulties and they were using CAD ver 7.5.1.
    Randomly for all the users in location Y were reporting CAD application gets Hanged immediately when the agent answer the call.
    Location Y is connected via WAN.
    Both the location we are using same CAD version, but still issue persist in location Y.
    Kindly let me know how to address this issue
    If this was a BUG why it was not impacting other location

    Hi,
    I found the problem in CAD Troubleshooting guide.
    Problem: Agents can’t log into Agent Desktop.
    Solution: During Unified ICM installation, an “Agent Login Required for Client Events” check box is displayed. By default this check box is unchecked. It must remain unchecked for agents to be able to log in. If the check box was checked during Unified ICM installation, you must reinstall Unified ICM and make sure the check box remains unchecked.
    I reinstalled CTI Server without that checkbox and now the agent is able to login.
    Thanks all for your help.
    Cristian

  • Application Engine and Markets

    Does anyone know how Application Engine chooses which market to execute?
    On each section in an Application Engine program, the developer can choose to limit a section to a specific database platform or a specific market. PeopleBooks documents how it chooses which section to execute when multiple sections exist. Most of the time, I just leave the platform as default and the market as GBL, and I never have had to worry about it.
    Understanding how the Application Engine chooses based on the database platform is easy: one of the options on the command-line tells it which platform to connect. But, what about the market? PeopleBooks does not document a command-line option that passes the market to psae.exe. I originally thought it would use the market from the run control component, but I don't understand how psae.exe knows. Does the market only apply to Application Engine programs run online and not through process scheduler?

    the log is :
    PSAESRV.496 (84) [12/28/11 ](0) Exception Code=c0000005; access violation (the memory at 0x0209d000 could not be read)
    PSAESRV.496 (84) [12/28/11 ](0) Fault address=77bd8fa7 0001:00037fa7 C:\WINDOWS\system32\MSVCRT.dll
    PSAESRV.496 (84) [12/28/11 ](0)
    PSAESRV.496 (84) [12/28/11 ](0) Windows Operating Environment:
    PSAESRV.496 (84) [12/28/11 ](0) OS Version: Windows Server 2003 Standard Edition v5.2 (Build 3790: Service Pack 2)
    PSAESRV.496 (84) [12/28/11 ](0) User Account: NT AUTHORITY\SYSTEM
    PSAESRV.496 (84) [12/28/11 ](0) Desktop: WinSta0\Default
    PSAESRV.496 (84) [12/28/11 ](0) OS Parms: %SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,512 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16
    PSAESRV.496 (84) [12/28/11 ](0) Memory status (MB available/MB total): Physical 2489/3711; PageFile 4690/5603; Virtual 1933/2047
    PSAESRV.496 (84) [12/28/11 ](0) Current Service=RunAeAsync1; Return code=0; Ok=True
    PSAESRV.496 (84) [12/28/11 ](0) ==================================================================================
    PSAESRV.496 (84) [12/28/11 ](0) Assertion (!nSqlRecurse) Failed at e:\pt84504b-retail\peopletools\SRC\pssys\samlib.cpp, line 2012.
    Thanks,
    Balu

  • Application Engine inbound Process

    Hi all,
    am new from peoplesoft.
    anyone knows how to write application Engine inbound process.
    please let me know.
    Thanks in advance.
    Regards
    RS

    Hey Inbound threw Application engine is a simple process
    take a new file layout from application designer
    drag & drop your record into file lay out definition page
    go to Preview panel & select segment (your record) name , browse the flat file
    go to properties -- use -- File Layout Format check exel format ok
    drag your file layout into AE actions ,automatically it generates code. now Run or else use this code
    Define a file,array,string,record
    Assign values to the above using functions GetFile , CreateArrayRept , text file for string,GetRecord .
    Check the file status open using IsOpen ,read the first value of flat file using ReadLine
    Push the text into array ,next step split
    assign to the record field values Local File &myfile;
    Local array of string &myarray;
    Local string &text;
    Local Record &rec;
    &myfile = GetFile("C:\Documents and Settings\Administrator\Desktop\office.txt", "r", %FilePath_Absolute);
    &myarray = CreateArrayRept("", 0);
    &rec = CreateRecord(Record.IN1_TBL);
    If &myfile.IsOpen Then
    While &myfile.ReadLine(&text);
    &myarray.Push(&text);
    &myarray = Split(&text, ",");
    &rec.IN1_NAME.Value = &myarray [1];
    &rec.IN1_LOCATION.Value = &myarray [2];
    &rec.Insert();
    End-While;
    End-If;
    &myfile.Close();

  • Disable restart and state record in Application Engine

    Hi All,
    can any one explain me elaborately about disable restart check box in advanced properties of an ae program ? What s the relation for this check box with state record of types i.e sql table or derived work record

    When you set the application engine to enable restart your state record needs to be a database record, so that the application eninge can continue where it left off with all values in the state record on that state.
    When you set the application engine to disable restart your state record can be a work record, because the application engine will always restart from the beginning, not using any variables from the staterecord.

  • Sqr vs application engine

    hi all,
    I have a question. i knew that application engine and sqr has it's own advantages.
    i want to know which is faster. let us say we have to write a program which will have large number of database trips.
    please suggest me which one i choose to get the faster results.
    Thank you.

    @user629988, generally speaking, PL/SQL runs faster than SQR or AE. If you have to create an output file, however, then you are probably better off using an SQR or AppEngine over PL/SQL. Yes, you can create output files with PL/SQL, but it will be easier if you use SQR or AE.
    Row by row processing doesn't optimize well. Set based processing has potential to be much more efficient. Perhaps you can collect some of the data for the 20 different SQL's into stage tables, and then run the SQL statements against sets rather than per row?
    As far as PL/SQL constructs, etc, it could be as simple as straight SQL that selects from your run control record. I would put the PL/SQL in a package. From AE, you launch PL/SQL using
    %Execute(/)
    begin;
    --call PL/SQL routine
    end;
    In SQR, you just end statements with two semi-colons ;;
    begin;;
    --call PL/SQL routine
    end;;

  • List of application engines that a delivered app engine touches

    Hi everybody,
    Can any one please tell me is there any documentation to get all the application engines that were touched by a delivered application engine.
    For example. the AP_VCHRBLD will call the app engine APVEDTPRRT and a lot other app engines.
    I want to know if there is any documentation provided by peoplesoft to know all the app engines that were touched by a delivered application engine.
    OR
    if you have any other docuementation(not from peoplesoft), please share with me.
    Thank you.

    You can look in the peoplettools table psaestepdefn. Where an AE step is statically coded to call another step it is recorded in AE_DO_APPL_ID and AE_DO_SECTION.
    select distinct ae_Applid, ae_do_appl_id
    from psaestepdefn
    where ae_do_appl_id != ' '
    and ae_applid != ae_do_appl_id
    order by 1,2
    AE_APPLID AE_DO_APPL_ID
    GP_PINMAP GP_PINMAP_CR
    GP_PKG_CMP GP_PINMAP
    GP_PKG_CR GP_PINMAP
    This is not going to work where the call is dynamic.

  • Shutdown Teststand 3.1 Engine Hangs

    I am using TestStand 3.1 engine in combination with Labview 7.1. Everything works fine until I run a sequence file. After this run the logout/login and the shutdown do not work anymore. The complete engine hangs. When I look at the description of the shutdown method it says;
    <QUOTE> Closes opened sequence files and executions. This method also releases the TestStand Engine. <UNQUOTE>
    So this

    see link http://forums.ni.com/ni/board/message?board.id=330&message.id=9566
    for all further responses
    Regards
    Ray Farmer

  • Failed to connect to the applications engine.....

    Hi, Using PS Elements 8.0 on a PC.  When trying to edit now keep getting message 'failed to connect to the applications engine'.  Any ideas how to fix this?  Really appreciate some help.
    Thanks
    Gordon

    Hi Ashley,
    You can use Network Monitor and run it on the remote DP at the time ConfigMgr is attempting to install the DP role to capture more information on what may be causing the issue.
    Here is the download link to NetMon -
    http://www.microsoft.com/en-us/download/details.aspx?id=4865
    And here are some how to's on using NetMon just in case:
    http://support.microsoft.com/kb/812953/en-us
    http://blogs.technet.com/b/netmon/p/usagevideos.aspx
    Best of Luck,
    -Matt

  • Mac OS X Applications keep hanging

    Since I updated my iMac to 10.5.6 I am having constant problems with applications that hang. It happens to all sorts of apps out of iLife, iWork and other non-Apple Applicactions, too. Especially, when trying to attach a file in a particular program (lie e.g. uploading a photo in a safari browser window, attaching a file in Mail or others. But it also happens just like that out of the blue when using the particular app.
    Force quit does not help! I need to force quit twice before the hanging app actually closes its WINDOW. The app itself does not close properly and remains visibly open in the dock (white light), but can not be accessed any longer. A forced system restart by pressing the ON/OFF button on the iMac is required every time. That is pretty annoying!
    I tried fixing permissions, although I believe it has nothing to do with that. Verified my HD, which appears to be ok.
    I also started my Mac in single user mode (cmd/s at startup) and fsck -fy, received the message "FILE SYSTEM WAS MODIFIED", repeated the procedure and received the message "SYSTEM APPEARS TO BE OK".
    Can someone help me out withi this? Thank you.

    Hello,
    How much available disk space is there?
    Right or control click the MacintoshHD icon on your Desktop, then click: Get Info. In the Get Info window, click the discovery triangle so it's facing down. You will see; Capacity and Available Make sure you have 10% available disk space, 15% is better. Not enough disk space can cause apps to crash/freeze.
    How long since you've performed any maintenance?
    Mac Maintenance Quick Assist
    Get Onyx for Leopard; http://www.apple.com/downloads/macosx/systemdiskutilities/onyx.html
    "A multifunction utility for Mac OS X (PowerPC and Intel). It allows you to verify the Startup Disk and the structure of its System files, to run misc tasks of system maintenance, to configure the hidden parameters of the Finder, Dock and of some of Apple’s own applications, to delete caches, to remove a certain number of files and folders that may become cumbersome and more."
    Check the boot disk for errors:
    Open Disk Utility, in the Utilities folder in the Applications folder.
    Select your disk, and click First Aid.Click Verify Disk.
    Insert your Mac OS X Install disc in your computer’s optical drive or an optical drive connected to your computer, and then restart your computer. When you hear the startup tone, hold down the C key until you see the progress indicator, which looks like a spinning gear. Follow the onscreen instructions until the menu bar appears with the Utilities menu in it, choose Utilities > Disk Utility, click First Aid, and then click Verify. If DU reports errors, click Repair. When Disk Utility is finished, from the Menu Bar, select Utilities/Startup Disk. Click MacintoshHD and click Restart.
    Check your hard disk’s S.M.A.R.T. status: Open Disk Utility, in the Utilities folder in the Applications folder.Select the disk in the list at the left, and look at the bottom of the window for a field named “S.M.A.R.T. Status.” Make sure you the word: Verified if not, the drive may be failing.
    Carolyn

  • Application Server Hanging

    Hi All ,
    One of my application server is hanging. When I checked the OS monitor of the application server through  Tcode st06, I found that the CPU utilization is very high.
    There are two process which contributed to most of the CPU utilization .
    Now when I checked these process through Tcode Sm50 , I found that these process are currently executing monthly report running in the background.
    Please suggest me the approach to prevent application server hanging.
    Thanks
    Gaurav

    It is very common that most of the customers face performance problems during monthend due to high number of batch jobs taking all system resources.
    You may need to look at the available resources and plan for enhancement if required. Schedule batch jobs to off-peak hours and use dedicated servers for batch processing if ur batch job load is high.

Maybe you are looking for

  • How to Play Overdrive Media Books on an iPod Shuffle 4th Gen

    Hi, Many libraries use Overdrive Media to manage audio books in various formats.  Once you have downloaded the book to the Overdrive Media Console on your computer, you can then choose to transfer it to a device (such as an iPod or other mp3 player).

  • Dynamic Border around image

    hi there, i have a main flash movie (main.fla) which has images placed on the screen. Each image has an invisible button placed on it.. (ie: the button has only the hitarea defined and no rollover, down etc.) NOTE: that the images are different in si

  • How to add an entry in LIBL

    Hi! I want to add a new entry in LIBL of R/3 system, but I already tried to add it on job description and user/system library list on system values (QSYSLIBL and QUSRLIBL) without success. After R/3 up, I verify the LIBL on jobs and the new library w

  • Export Messages from UC 2.1.2es20.1119-20

    Is there a way to export message from UC 2.1 so that I can save them as .wav or similar format files and put them on media?  I remember being able to do something similar using Unity 5 when it was integrated with Exchange, but I don't see any similar

  • I need java to access a website.  What version do I want?

    I need java for my iPad.  What version do I want and do I get it at Apple?