Control Program (Overseeing Agents)

Hey guys.
I'm an Artificial Intelligence student at University, working on my final year project. It's actually quite interesting. It's a conceptual indexer for text retrieval. My project involves a lot of 'agents' working together, and I wanted to create a kind of 'master' program to oversee the agents, queue tasks up, make sure that none of agents has crashed or frozen, stuff like that. The part i'm having some trouble with is the crashing and freezing part. I'm not really sure how to even begin going about it. I'm sure it's actually pretty easy, but I was wondering if anyone would be able to make some suggesstions to send me down the right path.
Let me explain a little more about what I would like it to do.
Basically there are five agents working together to create an information retrieval system. One converts HTML and RTF documents to plain text. The next uses WSD techniques to give each word it's correct sense (context). After that the document is conceptualised (given overall and sectional concepts). This information is then indexed. There is also a seperate agent for searching. In order to keep this system efficient and stable, on top of this will be a master agent, queing tasks and making sure that all the other agents are working as they should be. The problem im having is with how to make sure that one of the other agents hasn't crashed or frozen. If it has crashed or frozen, I would like the master agent to shut it down and restart it. My first thought about this was to have some kind of ping system, where the master agent would send a message to the other agents, and if it gets no reply then it restarts them, but there must be a more accurate and efficient way then this surely?
I don't want the actual answer for this, just for someone to show me the right path to follow. It's just that i'm not even sure where to begin with this one.
Anyway, thanks in advance.
Adam.

This is one of those rare situations where the depracted Thread.stop method seems to be unavoidable.
On the face of it crashes are easilly dealt with, but if it's a RuntimeError is there realy much point in restarting the Aglet? A RuntimeError usually implies that the code is faulty.
You'll need to use timeouts to monitor for Aglets that get stuck. For example your Aglet should send some kind of "I'm still here" periodically which resets a timer in a separate thread.
You should study ClassLoaders. It's probably best to load your Aglets from a seperate class directory, jar, or set of same using a URLClassLoader. That enables you to do stuff like "hot" reloading, and start thinking about security policies (especially if your aglets may be writtern by third parties).
I'd recomend the book "Inside the Java2 Virtual Machine".

Similar Messages

  • Transport control program tp ended with error code 0212

    Hi all,
    I have created a two system landscape of development & production server. But while I am releasing any request from develpoment server a error is showing: " Transport control program tp ended with error code 0212 Errors: could not access file as supposed (see dev_tp or S".I have chosen development server as domain controller. TMS alert viewer error message also contains the following information------>command: TMS_MGR_READ_TRANSPORT_QUEUE
                                                                           service: transport service
                                                                           start : online
                                                                           Function: TMS_TP_SHOW_BUFFER
                                                                           message: TP_REPORTED_ERROR
    In import monitor it's showing : "tp finished: could not access file as supposed (see dev_tp or SLOG1113.K"
    Can you tell me how to resolve this issue?

    dev_tp contains:    
    This is R3trans.exe version 6.14 (release 700 - 09.04.10 - 11:26:00).
    unicode enabled version
    usage: R3trans.exe [<options>] <control_file>
    The control_file describes what R3trans has to do.
    The following options are possible:
    -c f1 f2 : Copy file f1 to f2 with character set conversion.
    -d       : DB connect. Test if SAP database is available.
    -i file  : Import from file without using a control file.
    -l file  : List the contents of file to the log file.
    -m file  : List the contents of file to allow tp to create a cofile.
    -t       : Test. All database changes are rolled back.
    -t4      : Trace level 4. Switch on developer trace.
    -u <int> : Unconditional modes. See below.
    -v       : Verbose. Write more details to the log file.
    -w file  : Log file. The default log file is 'trans.log'.
    -x       : DB connect without access on any SAP table.
    R3trans.exe finished (0012).
    & the slog file is not there in the trans/log directory

  • Test call of transport control program (tp) ended with return code 0232

    Hi Gurus,
    while releasing a request am facing this fallowing error :
    Calling the transport control program tp
       "tp EXPCHK SIDK901840 pf=
    HOSTNAME\sapmnt\trans\bin\TP_DOMAIN_SID.PFL -Dtransdir=\"
    which checks the export requirements, returned the following information:
    Return code from tp: 0232
    Error text from tp: ERROR: Connect to TI6 failed (20110131145153, prob..
    and i have checked the all requirements transport..all are fulfilled..
    Can any body tell me the solution.
    Regards,
    Kittu.

    Hi Juan,
    Thanks for your reply. I cant see tp import log because Request itself is not yet released and in tp system log it says that
    ERROR: Connect to SID failed (20110131102838, probably wrong environment).and the value of DIR_TRANS is
    HOSTNAME\sapmnt\trans.
    Please suggest me what to do to solve this issue.
    Regards,
    Kittu.

  • Test call of transport control program (tp) ended with return code 0200 Message no. TK094

    Hello Expert,
    My SAP System environment as follow
    SAP Product : SAP NetWeaver 04
    Operating System : Windows 2003 32 bit
    SAP Database : MS SQL 2005 32 bit
    I have installed SAP NetWeaver 04 system with system copy option. I have installed Application server & Database server on different physical server. App server : SSC2PAS3SFWBW and Database Server : SSC2PAS3SFSQW1.
    After SAP NetWeaver 04 installation with system copy I have done TMS configuration with virtual system for a test, It is working fine but while releasing request form SFD system (Development system) it get error  “Test call of transport control program (tp) ended with return code 0200. Message no. TK094”
    I have reconfigured the TMS and check but it can’t help. TR gets release and import with OS level but at SAP level it gets error.
    Trans --> Log
    1 ETP199 ######################################
    1 ETP199X######################################
    1 ETP182 CHECK WRITEABILITY OF BUFFERS
    1 ETP101 transport order     : "SFDK905838"
    1 ETP102 system              : "SFD"
    1 ETP108 tp path             : "tp"
    1 ETP109 version and release : "340.16.72" "640"
    1 ETP198
    2EETP128 No target system defined. "SFDK905838" is not a transport request.
    1 ETP182 CHECK WRITEABILITY OF BUFFERS
    1 ETP110 end date and time   : "20140602150208"
    1 ETP111 exit code           : "12"
    1 ETP199 ######################################
    Steps for Reconstruction                                            
    # Upgraded latest SAP Kernel Non-Unicode 640_Rel Patch level 404
    # Reconfigured the TMS
    # Full User Permission has been set to all SAP Directory.        
    Rgds,
    Ashok      

    Hi Ashish,
    I have removed virtual system form TMS and configured with Development & Production system, but the same error. Not able to release TR.
    SLOG as below.
    ERROR SFDK905832           SFD f 0012 20140602090930 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905832           SFD f 0012 20140602093923 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905832           SFD f 0012 20140602094059 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905832           SFD f 0012 20140602102854 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905832           SFD f 0012 20140602103633 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905832           SFD f 0012 20140602104142 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905832           SFD f 0012 20140602111140 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905832           SFD f 0012 20140602112723 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905832           SFD f 0012 20140602113109 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905832           SFD f 0012 20140602113704 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905832           SFD f 0012 20140602113722 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905832           SFD f 0012 20140602113753 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905832           SFD f 0012 20140602113809 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905834           SFD f 0012 20140602125959 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905834           SFD f 0012 20140602130035 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    START EXPORT PREPARATION   SFD e      20140602132917              sfdadm       SSC2PAS3SFWBW 20140602132916001358
    START tp_getprots          SFD E      20140602132917              sfdadm       SSC2PAS3SFWBW 20140602132916001358
    STOP  tp_getprots          SFD E      20140602132920              sfdadm       SSC2PAS3SFWBW 20140602132916001358
    STOP  EXPORT PREPARATION   SFD e      20140602132920              sfdadm       SSC2PAS3SFWBW 20140602132916001358
    ERROR SFDK905836           SFD f 0012 20140602133526 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905836           SFD f 0012 20140602133540 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905838           SFD f 0012 20140602144313 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905838           SFD f 0012 20140602144350 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905838           SFD f 0012 20140602144430 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905838           SFD f 0012 20140602150202 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905838           SFD f 0012 20140602150208 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905838           SFD f 0012 20140603080634 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905838           SFD f 0012 20140603081006 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905838           SFD f 0012 20140603083952 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905838           SFD f 0012 20140603084005 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603091608 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603091617 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905842           SFD f 0012 20140603091826 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603093805 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603101944 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603102709 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603114753 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603121948 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603122039 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603123438 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603135937 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603140114 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603140233 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603140339 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603141743 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905840           SFD f 0012 20140603150924 default_user BASIS@ORIGIN SSC2PAS3SFWBW                    
    ERROR SFDK905844           SFD f 0012 20140603152403 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905844           SFD f 0012 20140603152753 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905844           SFD f 0012 20140603153518 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905844           SFD f 0012 20140603162013 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905844           SFD f 0012 20140603162544 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905844           SFD f 0012 20140603162639 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905844           SFD f 0012 20140603162755 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905844           SFD f 0012 20140603163347 default_user A559420      SSC2PAS3SFWBW                    
    ERROR SFDK905844           SFD f 0012 20140603163740 default_user A559420      SSC2PAS3SFWBW                    
    Rgds,
    Ashok

  • Unable to release transport request because of control program tp

    I have create a customized transaction type as a copy of urgent correction SDHF. I am not able to release the transport requests using the action in the toolbox 'Release Transport Request' and I obtain the following error in the log:
    could not start transport control program tp
    But if I directly execute the task 'Release Transport Request' in the task list, it works.
    Another strange thing is that at the beginning both ways worked, but after some days I started to have this problem.
    Thanks
    Antonello

    I did not find any note about this error.
    Someone can help me?
    Thanks.
    Antonello

  • Transport control program tp ended with error code 0208

    Hello
    I installed minisap NW2004s on XP/SP2 VMWARE 4.5. The installation it self's works fine, but have some problems in the stms. when i call the transport queue there appears an error as follow:
    System   NSP              Command  TMS_MGR_READ_TRANSPORT_QUEUE 
    Client   000              Service  Transport Service            
    User     TMSADM           Start    Online                       
    Date     12.10.2006       Function TMS_TP_SHOW_BUFFER           
    Time     07:13:13         Message  TP_REPORTED_ERROR            
    Transport control program tp ended with error code 0208
    Errors: error in transportprofil (param missing
    unknown,.
    Any Idea? Thanks for your help.
    Regards, George

    Hi
    You can edit the parameter profile using RZ10 and RZ11. You should not copy but manually edit the parameters. Also you need to make a consistency check so that the parameters will be copied to the database from the OS level. You will find an option to perform consistency check in RZ11.
    Hope that helps.

  • Transport control program tp ended with error code 0211

    Dear Experts,
    I have a problem in doing the import after the client export was successfully done.
    I am actaully tring to do a client import/export from the PRD server to DEV server.
    On PRD the client is 900 and on the DEV the client is 240.
    I have manually copied the transport requests created into the
    /usr/sap/trans/cofiles and /usr/sap/trans/data folders to the same on the DEV server.
    After coping them,
    I have tried to add these transport requests to the DEV server queue, i get the following error message
    Transport control program tp ended with error code 0211
    Message no. XT200
    Diagnosis
    An error occurred when executing a tp command.
      Command: ADDTOBUFFER RT2KT00014 RT1 pf=/usr/sap/trans/bin/T
      Return code: 0211
      Error text: no info about transport request found
      Request: RT2KT00014
    System Response
    The function terminates.
    Procedure
    Correct the error and execute the command again if necessary.
    After this I have tried to add the transports to the buffer at the OS level using the command
    ./tp pf=TPPARAM addtobuffer "RT2KT00014" RT1 U18 by going to the folder
    /usr/sap/trans/bin
    But it says that the tp is not found.
    I have also checked the permissions for the TRANS folder, it has full access i.e 777
    This is where i am struck, and the client has to be imported asap as the requirement for the SUPPORT TEAM is very urgent.
    We are on AIX, Oracle 10G and ECC6
    Thanks and regards
    Harry

    Dear Imtiaz,
    Thanks for your quick fire reply...
    The link helped me but it could not resolve my issue..
    Infact i found it my self that the transport requests had to be given full FILE PERMISSIONS at the OS level
    I logged in as ROOT
    and changed directory to /usr/sap/trans/cofile and gave the command
    chmod 777 RT00014.RT2 and
    chmod 777 RX00014.RT2
    and then went to STMS>SYSTEMS>Import View>Extras>Other requests--> Add ..
    Here i added the request nos and then it added up in the queue and then i started the import.
    Anyway thank you very for your reply..
    Awareded points to you.
    Thanks and regards
    Harry...

  • Transport control program tp ended with error code 0247

    Hi,
    Our landscape is such that any transport request once released, gets imported to Q system immediately. However there is another system (another box REG - regression testing) to which I would like to import a request but the transport queue of REG system does not show the request. So I tried to explicitly add it to the queue but I get the following error message, 'Transport control program tp ended with error code 0247.
    There doesn't seem to be a problem with data & CO files as the same request is in Q system and the changes are all transported successfully.
    This request is a transport of copy that contains some ABAP code. (changes to the relevant package can be saved only in local requests therefore transport of copy is recommended to transport the changes).
    The changes appear correctly in Q system but for REG system the request neither appears in the queue nor be added to it.
    Can someone advise where the problem is.
    Cheers,
    KC

    Hi
    When the REG system is not in the system landscape, probably you may not have Data & Co files in that system & you need to have those files separately in the REG system path & then import it.
    Do consult Basis team on this issue.
    Thanks,
    Murali.

  • STMS: Transport control program tp ended with error code 0232

    Dear ERP Gurus,
    I just encountered problem with STMS in my PRD system. The import is just stuck up on "tp connecting to database". It won't continue unitl the system gives me this error message:
    Transport control program tp ended with error code 0232
    Errors: connect failed
    The tp System log says:
    ERROR: Connect to PRD failed (20090227135454, probably wrong environment)
    I have verified that the suggestion in SAP Note 165708 has already been implemented in our DEV, QAS, and PRD instances.
    Any idea why I am having this problem? Imports were running fine yesterday. Please help.
    Your prompt response is highly appreciated.
    Thanks a lot.
    Best Regards,
    Albert

    Hi Albert,
    First check import monitor and delete all requests from queue, which are still getting imported.
    And go to /usr/sap/trans/tmp and mv all those tmp files to other location.
    Then kill all OS jobs which are getting execute with tp.
    Check all jobs are runnig fine, related to transportation. If not reschedule the same.
    Then start importing.
    Before doing this just check whether your stms related RFCs are working fine.
    I think One of your RFC is getting struck. just try to change ip or hostname accordingly and try.
    Regards
    Nick Loy

  • Transport control program tp ended with error code 0232

    Dear all
    I've change password for user SAPSR3 by mistake
    the result from brtools is "password changed successfully in table OPS$CAPADM.SAPUSER for user SAPSR3"
    after that i can not transport to my production client
    with error : TP_REPORTED_ERROR
    Transport control program tp ended with error code 0232
    Can anybody help me please
    thanks & rgds,
    Della

    I've changed my SAPSR3 password to sap but still error
    this is the error log from Check Transport Tool
    DB Connect            Link to database failed
    This is tp version 372.04.70 (release 700, unicode enabled)
    Warning: Parameter DBLIBPATH is no longer used.
    ERROR: Connect to CAP failed (20091217174435, probably wrong environmen
    TRACE-INFO: 1:  [dev trc     ,00000]  Thu Dec 17 17:44:35 2009
    0.007435
    TRACE-INFO: 2:  [dev trc     ,00000]  DlLoadLib() success: dlopen("/usr
    0.007448
    TRACE-INFO: 3:  [dev trc     ,00000]  Got
    LIBPATH=/usr/sap/CAP/DVEBMGS32/exe:/usr/sap/CAP/DVEBMGS32/exe:/usr/lib
    lient from environment
    TRACE-INFO: 4:
    0.008053
    TRACE-INFO: 5:  [dev trc     ,00000]  Oracle Client Version: '10.2.0.2.
    0.008140
    TRACE-INFO: 6:  [dev trc     ,00000]    >oci_initialize(con_hdl=0, char
    0.008158
    TRACE-INFO: 7:  [dev trc     ,00000]  application info callback registe
    0.008173
    TRACE-INFO: 8:  [dev trc     ,00000]  OCIEnvCreate(mode=16384=OCI_UTF16
    0.010330
    TRACE-INFO: 9:  [dev trc     ,00000]  Client character set UTF16 -> UTF
    0.010421
    TRACE-INFO: 10:  [dev trc     ,00000]  Client NLS setting (OCINlsGetInf

  • Transport Controll Program tp ended with error  code 0012

    we have 3 instances 1 DEV 2 TEST 3 PROD.
    in TCODE:STMS by clicking 'system overview' icon
    all systems are showing and domain controller is PROD,
    and <u>Test System also defined as Transport Domain Cotroller.</u>
    earlier STMS scenario: Transport Route is from DEV to PROD system not to the TEST system.
    what I have done:
    deleted the Transpor Domain Controller of the TEST system and kept as test system.
    create routes from DEV to TEST to PROD.
    present STMS problem:
    when I am sending Request from the DEV to TEST Request going smootly. but at TEST sytem while importing the Request it is giving the ERROR as  "<b>Transport control program tp ended with error code 0012</b>"
    please help out me....as soon as possible.

    This is definitely the wrong forum for your post. Please repost properly.
    Regards, Klaus

  • Transport control program tp ended with error code 0008

    Hi !
    I trying to realize an export of client like that :
    Source Client                     400
    Target System:                    ASI
    Copy Type                         Client Export
    Profile                           SAP_RECO
    Status                            Ended with Errors
    User                              ST01051
    Start on                          17.06.2009 / 17:41:00
    Last Entry on                     18.06.2009 / 00:20:40
    Transport Requests
    - Client-Specific                 ASIKT00028
    - Texts                           ASIKX00028
    The export ended with this error :
    Transport control program tp ended with error code 0008
    Error when exporting request ASIKT00028 00:20:39
    Program ended with error or warning, return code: F
    What happen ?
    If somebody can help me to solve this problem ?
    Regards,
    Johan

    hai johan ,
    of the return code is 008 then it is error,
    what have u transported  to target just chekc the log an du might find the error ,
    just click the expand button of the error and u will get the detials what errror occured
    may be some objects might be inactive just chekc once
    m.a

  • Transport control program tp ended with error code 0249

    Hello guys,
          I am facing an when importing transport.  After I click import to the transport in STMS, before it runs, a message window is displayed immediately. This was working find until last week, any kind of transport is followed by the same error.
    Transport control program tp ended with error code 0249
    Message no. XT200
    Diagnosis
    An error occurred when executing a tp command.
      Command: IMPORT BWDK903312 BIW client200 U0 pf=
    sapbiw1a\s
      Return code: 0249
      Error text: connect failed due to DbSL load lib failure
    Has anyone faced this error while trying to import a transport? I have not found the same error in sdn (0249)
    help will be appreciated.
    thanks
    DGF

    Your are right, but which is the Basis forum?
    Business Process Expert 
    Database & OS Platforms  ABAP Development 
    Enterprise SOA  Portal 
    Emerging Technologies 
    SAP Solutions 
    Business Intelligence 
    Scripting Languages 
    SAP Business One  Industries 
    Community Discussions 
    SAP NetWeaver  Application Server  Integration and Certification Center (ICC) 

  • Transport control program tp ended with error code 0016

    Hello colleagues,
    We are getting the following error when exporting system HRP to HRI:
    Transport program TP started successfully for HRPKX00005 21:25:45                                                                
    |   Transport control program tp ended with error code 0016                                                                           
    |   Error exporting request HRPKT00005 00:59:50                                                                               
    |   Program ended with error or warning, return code: F                                                                            
    |   Runtime (seconds)         :         13.876                                                                               
    |   End of processing: 00:59:50               
    Please could you kindly help us to solve the issue?
    Thanks in advance.
    Best regards
    Edited by: Víctor Barahona Cimas on Nov 12, 2009 3:33 PM

    ok thanks

  • Transport control program tp ended with error code 0203

    when i import queue and transport queue from dev to prd ,error show:
    Transport control program tp ended with error code 0203
    Message no. XT200
    Diagnosis
    An error occurred when executing a tp command.
      Command: IMPORT DEVK900298 P01 clientP01 U0 pf=/usr/sap/tra
      Return code: 0203
      Error text: wrong syntax in tp call
      Request: DEVK900298
    System Response
    The function terminates.
    Procedure
    Correct the error and execute the command again if necessary.

    Dear Allen,
    The transport control program tp collects all return codes that occur when a tp command is executed. From all of these single return codes, a combined return code is calculated that tp outputs as a result at the end the command. During an import, for example, all return codes for individual import steps are handled. If a special return code does not occur, then the combined return code at the end is the maximum of individual return codes that occur. In addition to the value of the return code, tp also gives a short description of this return code. You can display this short description using the command explainrc.
    Normally, all return codes that occur originate from individual transport steps. Since these individual return codes can only have the following values 0, 4, 6, 8, 12, 13, 14, 16, the combined return code also has one of these values. However, if a general error occurs, a single return code over 200 is generated. For example, this could arise if tp cannot establish a connection to the database. The maximum return code for all single transport steps is output in a separate message before specifying the combined returned code. In this case, the combined return code is always the return code of the general error message.
    <b>tp Commands:</b>
    tp addtobuffer <request> <sapsid>
    As of Release 4.6A, an explicit addtobuffer command leaves the position of the entry unchanged, if the relevant transport request is already in the buffer. Only the status of the entry is changed:
    Unconditional modes appearing in the command line are added to the unconditional modes in the buffer.
    All the steps of the entry are re-initialized.
    If the entry found is not an initial entry, the import step for the command file is set to *4000 .
    Before you call this command and its options, consider the effects of changing the import sequence.
    tp cleanbuffer <sapsid>
    This deletes successfully imported change requests from the list of requests that are marked for import into the SAP System <SAPSID>. This function is contained in the commands tp import all <sapsid> and tp put <sapsid> .
    tp delfrombuffer <request> <sapsid>
    If the specified request is marked for import into the specified SAP System, this flag is deleted from the import list.
    Before you call this command, consider the effects of changing the import sequence.
    As of Release 4.6A: If a transport request was only partially imported, you can delete this type of transport request from the buffer. However, if a deleted transport request is placed in the buffer (without having been initially or completely imported), the attributes of the old entry are reactivated. This means the return codes, the unconditional modes and tags of the deleted entry appear in the new entry.
    tp delstopmark <sapsid>
    If the list of requests marked for import into the specified SAP System contains a STOP mark, the mark is deleted.
    tp export <request>
    This exports the complete request from the source system. This command starts the export of a request from the operating system level. Only use this command in exceptional cases. The SAP System uses the command expwbo to release requests from CTS transactions.
    tp reformatbuffer <sapsid> [options]
    This automatically reformats the entire buffer.
    As of Release 4.5A, there are 2 different formats for buffer entries. (As of Release 4.5A, tp can work with both formats, and with a puffer containing heterogeneous entries. As of Release 4.6A, tp can work with 3 formats.)
    However, in certain cases entries with the old formatting have to be reformatted during the normal run of tp . In this case, the entire buffer is automatically reformatted.
    If you use the options downtorelease and Iagree for command reformatbuffer , you can format the buffer so that its formatting is compatible with an older release:
    Option downtorelease <Release>
    The command reformatbuffer with this option formats the buffer so that the formatting corresponds to the one used in an old release. This is necessary if tp writes buffer entries to the buffer of another system, but uses a buffer format that the transport control programs does not understand in this system.
    Since older formats cannot store the same amount of information as the newer ones, some information contained in the original buffer may not be stored in the unformatted buffer. This may lead to data loss.
    To avoid data loss, the original buffer is stored. In addition, you have the following functions:
    Displaying the unformatted buffer (using showbuffer <SID> )
    Displaying the original buffer (using showbuffer buffer=<SID>SAV )
    Accepting the unformatted buffer (using reformatbuffer and the option Iagree yes )
    Resetting the changes (using reformatpuffer and the option Iagree no )
    If you call reformatpuffer using downtorelease , tp displays in detail if information was lost by reformatting, and what that information was. tp also names the commands that is has to execute to accept or reject the changes.
    If you use the option downtorelease , you must also specify the option Iagree with yes or no . You cannot use the transport system until you decide to accept or reject the changes.
    Option Iagree
    Here are the following values for this option:
    yes ( true )
    Accept the change made by tp reformatbuffer <SID> downtorelease <rel>
    In this case, tp deleted the buffer semaphore file that was lifted for security reasons at the first call of reformatbuffer
    no ( false )
    Reject the change made by tp reformatbuffer <SID> downtorelease <rel> In this case, tp copies the backup of the original buffer back and deletes the buffer semaphore file that was lifted for security reasons at the first call of reformatbuffer
    tp setstopmark <sapsid>
    A special STOP mark is added to the list of requests registered for import into the specified SAP System. The commands tp import all <sapsid> and tp put <sapsid> only process the requests in front of this stop mark.
    If there is no stop mark, it is automatically generated by the commands
    tp import all <sapsid> and tp put <sapsid> .
    When all the requests in front of the stop mark have been imported successfully, at the end of all the calls the related marks and the mark itself are deleted.
    A STOP mark can only be placed at the end of the change requests that have already been marked. In addition, it can only be set if no other mark of the same kind already exists.
    tp showparams <sapsid>
    This tp function displays which values the individual parameters of the transport profile have for the current SAP System.
    tp verse <request>
    This creates versions of the objects in the specified request. This transport step is contained in command export .
    As of Release 4.5A, more actions that prepare the export are performed in this step.
    Thanks and Regards,
    Naveen.

Maybe you are looking for

  • Planning File entry is missing

    Hi Friends, I have issues of planning file missing for material from Sales Order. We are using Reorder point planning(ZM) and new Item Category YP19 and No Production involved. I have followign questions. 1. Is Strategy make to order is to be defined

  • Nokia Find Friends App

    Are nokia planning on releasing an app that has the same functionality as Apples Find Friends or Googles Latitude? Seeing as they have such good maps you would think they would. I am thinking of buying a Lumia phone but don't want to give up this fea

  • How to implement SubType/SuperType in Oracle ?

    Hi, I have a supertype and three subtypes, as attached below, how is the best approach to implement it in Oracle (9i/10g) ? Thank you for your help, Krist Supertype : Employee Employee_Number Employee_Name Address Employee_Type Date_Hired SubType : H

  • Anyone seen windows 7 drivers yet?

    I bit the windows 7 bullet and the print drivers I have won't install now.  I sort of hate to go back in windows version just to install my printers.  Any news or suggestions? Message Edited by SKPhotos on 05-17-2009 02:51 PM This question was solved

  • Keyboard question

    Hello, Long story short, wanna buy one today but can't find this answer anywhere. Is there a VNC client that works with the bluetooth/dock keyboard? I would love this functionality so I can just bring my iPad with on longer trips, thanks.