Reports6i - RWRUN60 command line exit codes - Help

Basically I'm running a process in C# that execute multiple reports through Process.Start() method, once completed I'm checking the Process.ExitCode to verify if it was a successful execution.
In the arguments for the command line execution I'm passing the ERRFILE=ErrorFile.txt argument to have an error log,.
Usually after a successful execution, by 'standard' (actually best practice I think), the exit code of an application is 0, but in some reports I'm having exit codes like 4, and no errors are logged in the ERRFILE.
I've checked the Reference Manual already, but I can't find any reference to command line error/exit level/code.
If somebody has the RWRUN60.exe process exit codes I'd appreciate it.
Thanks in advance.

Please find the below code.
I am not sure whether it is useful to you.
DISPLAY=3.37.8.165:0.0;
export DISPLAY
#FTP ROUTINE
ftp_proc()
{ if test -f $output_file/$output_file_web
then
a=`wc -l $output_file/$output_file_web| cut -c1-8`
if [ $a = "" -o $a = "0" ]
then
echo 'FTP not required for $output_file_web because it has zero lines'
$sh_path/crt_arch.sh $output_file $output_file_web $arch_file m
else
echo "ftp $output_file_web File"
$sh_path/ftp_put_bin_script.sh centerpieceprod.motors.ge.com ftprpt test123 \
$output_file $output_file_web /u03/app/applmgr/homepage/reports \
$output_file_web $ftp_mode
$sh_path/crt_arch.sh $output_file $output_file_web $archive_path m
fi
else
echo 'WARNING : $output_file_unix file does not exist'
fi
unset a
## *** PROCESS STEP 010 ***
## Set environment, establish ID/password variables and process variables
echo 'STEP010 : Setup variables and environment\n'
echo 'STEP010 : Start Time - \c';date
#!/bin/ksh
#1###### Set the enviroment like APPS_SID, STEL_SID ##############
CONST_ENV=$1                    
. /var/opt/ge/bin/constell_environment $CONST_ENV
if [ $? -ne 0 ]
then
echo "Environment not set\n"
exit 1
fi
####### Set the oracle environment for constellar database like NLS_LANG
ORACLE_SID=$STEL_SID
. /opt/bin/SET_environment
####### Get DB user and Password ########
USER_PW=`/var/opt/ge/bin/GE_pw $STEL_SID $APPS_DB_USR`
if [ $? -ne 0 ]
then
echo "Failed to get constellar password - "
exit 1
fi
login=$STEL_DB_USR
passwd=$USER_PW
instance=$STEL_SID
PRINTER=ps264laser1
export PRINTER
connect_str=$login/$passwd
##----------## Establish environment variables
sh_path=$GESTEL_TOP/bin; export sh_path
plsql_path=$GESTEL_TOP/plsql; export plsql_path
tmp_path=$GESTEL_TOP/tmp; export tmp_path
output_file=$GESTEL_TOP/out; export output_path
input_path=$GESTEL_TOP/in; export input_path
log_path=$GESTEL_TOP/log; export log_path
archive_path=$GESTEL_TOP/archive; export archive_path
scr_path=$GESTEL_TOP; export scr_path
idw_name='REPORTS'; export idw_name;
DISPLAY=3.37.8.165:0.0; export DISPLAY
# <<<<<<<<<<<<<<<<<< M A I N P R O G R A M >>>>>>>>>>>>>>>>>>>>
echo "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"
date "+%D %T Begin of the REPORT process."
echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
echo STARTING $0 `date +%c`
echo $connect_str
DAY=`date +%a`
echo day of week is $DAY
echo start batch jobs always executed
echo start MSCP$plant programs always executed
if [ $DAY = Sun -o $DAY = Mon ]
then
## Build temp table containing all purchase orders ##
sqlplus $connect_str @$plsql_path/exec_pop_tbl.sql
fi
# POPULATE THE IN SHIP TABLE AND THE OPEN PO TABLES
echo "Executing Interface for Reports data\n"
## Build temp table containing all purchase orders ##
sqlplus $connect_str @$plsql_path/create_open_po_report_tbl.sql
## Generate Receipt table for reports ##
echo "Executed Interface for pos Reports data\n"
sqlplus $connect_str @$plsql_path/crt_idw_rcpt.sql
## Look for any errors in HUB_SCHEDULE_TRACE table
sqlplus $connect_str @$plsql_path/test_error.sql $idw_name $tmp_path
unset a
a=`wc -l $tmp_path/test_error.spl | cut -c1-8`
if test $a != "0"
then
echo "\nERROR : Creating tables for reports\n"
sqlplus $connect_str @$plsql_path/send_mail_msg.sql
sqlplus $connect_str @$plsql_path/send_prod_support_mail.sql \
$inf_rado $tmp_path
exit 100
fi
echo '123'
# FOR EACH PLANT IN THE TABLE,GET PLANT CODE
echo '124'
######## Get password for apps ##########
ORACLE_SID=$STEL_SID
. /opt/bin/SET_environment
unset TNS_ADMIN
USER_PW=`/var/opt/ge/bin/GE_pw $STEL_SID $STEL_APP_USR`
if [ $? -ne 0 ]
then
echo "Failed to get Apps password - "
exit 1
fi
apps_conn=$STEL_APP_USR/$USER_PW
echo '\nApps connected '
echo $login
echo $passwd
for x in `sqlplus -s $apps_conn <<-MMM
set pages 0
set feedback 0
SELECT
TRANSLATE(RPAD(PARAM_VALUE,3),' ','x')||param_desc CODE
FROM GECV_INT_PARAMS
where interface_code = 'DLY_REPORTS'
and param_code = 'Plant code and printer'
EXIT
MMM
`
do
plant1=`echo $x | awk '{print substr($0,3,1)}'`
     echo $plant1
if [ "$plant1" = "x" ]
then
plant=`echo $x | awk '{print substr($0,1,2)}'`
else
plant=`echo $x | awk '{print substr($0,1,3)}'`
fi
echo $plant
box=`echo $x | awk '{print substr($0,4,length($0))}'`
echo $box
DAY=`date +%a`
echo day of week is $DAY
echo 'Start Time - \c';date
echo start MSCP$plant programs executed on sunday or monday
#DAILY RECEIVING FOR EACH PLANT
echo $output_file
#echo ' The Printer Name is : '
#echo $PRINTER
ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
rwrun60c report=$sh_path/rcvd1.rdf userid=$login/$passwd@$instance \
destype=file desname=$output_file/$plant'rcvd1.txt' batch=yes ctrplt=$plant \
pagesize=132x66 desformat=wide180
output_file_unix=$plant'rcvd1.txt'
output_file_web='rcvd1'$plant'.doc'
# Verify the day of the week to do put or append
if [ $DAY = Sun -o $DAY = Mon ]
then
ftp_mode=append
else
ftp_mode=put
fi
$sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
ftp_proc
#PLANT CODE PHL THEN RUN DIFF REPORTS
if [ $plant = PHL ]
then
REP_POPLT=phl_poplt.rdf
REP_POPD=phl_popd.rdf
REP_POANA1=phl_poana1.rdf
REP_POANA2=phl_poana2.rdf
else
REP_POPLT=poplt.rdf
REP_POPD=popd.rdf
REP_POANA1=poana1.rdf
REP_POANA2=poana2.rdf
fi
echo $REP_POPLT
#OPEN PURCHASE ORDERS
ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
rwrun60c report=$sh_path/$REP_POPLT userid=$login/$passwd@$instance \
destype=file desname=$output_file/$plant'poplt.txt' batch=yes ctrplt=$plant \
pagesize=132x66 desformat=wide180
output_file_unix=$plant'poplt.txt'
output_file_web='poplt'$plant'.doc'
ftp_mode=put
$sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
ftp_proc
#PAST DUE PURCHASE ORDERS
ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
rwrun60c report=$sh_path/$REP_POPD userid=$login/$passwd@$instance \
destype=file desname=$output_file/$plant'popd.txt' batch=yes ctrplt=$plant \
pagesize=132x66 desformat=wide180
output_file_unix=$plant'popd.txt'
output_file_web='popd'$plant'.doc'
ftp_mode=put
$sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
ftp_proc
#PURCHASE ORDERS BY ANALYST
ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
rwrun60c report=$sh_path/$REP_POANA1 userid=$login/$passwd@$instance \
destype=file desname=$output_file/$plant'poana1.txt' batch=yes ctrplt=$plant \
pagesize=132x66 desformat=wide180
output_file_unix=$plant'poana1.txt'
output_file_web='poana1'$plant'.doc'
ftp_mode=put
$sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
ftp_proc
# PURCHASE ORDER BY PART
# skl.run model for oracle reports executables
ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
rwrun60c report=$sh_path/$REP_POANA2 userid=$login/$passwd@$instance \
destype=file desname=$output_file/$plant'poana2.txt' batch=yes ctrplt=$plant \
pagesize=132x66 desformat=wide180
output_file_unix=$plant'poana2.txt'
output_file_web='poana2'$plant'.doc'
ftp_mode=put
$sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
ftp_proc
echo start MSCP$plant programs always executed
if [ $DAY = Sun -o $DAY = Mon ]
then
## Build temp table containing all purchase orders ##
# skl.run model for oracle reports executables
# RECEIVING LOG BY WEEK
ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
rwrun60c report=$sh_path/rcvw1.rdf userid=$login/$passwd@$instance \
destype=file desname=$output_file/$plant'rcvw1.txt' batch=yes ctrplt=$plant \
pagesize=132x66 desformat=wide180
output_file_unix=$plant'rcvw1.txt'
output_file_web='rcvw1'$plant'.doc'
ftp_mode=put
$sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
ftp_proc
# RECEIVING LOG BY ACCOUNT
ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
rwrun60c report=$sh_path/wacsum.rdf userid=$login/$passwd@$instance \
destype=file desname=$output_file/$plant'wacsum.txt' batch=yes ctrplt=$plant \
pagesize=132x66 desformat=wide180
output_file_unix=$plant'wacsum.txt'
output_file_web='wacsum'$plant'.doc'
ftp_mode=put
$sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
ftp_proc
# COMMITTED DOLLAR DETAIL REPORT
ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
rwrun60c report=$sh_path/cmtdet.rdf userid=$login/$passwd@$instance \
destype=file desname=$output_file/$plant'cmtdet.txt' batch=yes ctrplt=$plant \
pagesize=132x66 desformat=wide180
output_file_unix=$plant'cmtdet.txt'
output_file_web='cmtdet'$plant'.doc'
ftp_mode=put
$sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
ftp_proc
# COMMITTED DOLLAR SUMMARY REPORT
ORACLE_HOME=/u04/app/applmgr/DFWPR107ora/8.0.6
rwrun60c report=$sh_path/cmtsum.rdf userid=$login/$passwd@$instance \
destype=file desname=$output_file/$plant'cmtsum.txt' batch=yes ctrplt=$plant \
pagesize=132x66 desformat=wide180
output_file_unix=$plant'cmtsum.txt'
output_file_web='cmtsum'$plant'.doc'
ftp_mode=put
$sh_path/report_ascii_to_rtf.sh $output_file_unix $output_file_web
ftp_proc
fi
done
echo end MSCP$plant programs always executed

Similar Messages

  • Program exits with the System.exit(3) exit code, help?

    When I ran my program(a simulation for a wind powered vehicle), it suddenly ends with no apparent reason, and returns System.exit(3) exit code.
    I have no Idea what this exit code means, and thus am stuck in the debugging...
    Help is greatly appreciated

    No error messages?
    If not, then you need to search for all instances of
    catch (WhateverException var) {}and replace them with
    catch (WhateverException var) {
      var.printStackTrace();
    }

  • Command-line building:  code generation / WSDL importing

    Greetings,
    I'm working to setup a somewhat complicated Adobe Flex project that was created with the Flash Builder plugin in Eclipse.
    I cannot seem to find any documentation regarding the code generaton feature on the backend of the Flash Builder plugin.  The only way to access it seems to be via the GUI.
    Normally, I generate the appropriate action script code / objects via the Data/Services wizard in the Flash Builder plugin (importing a WSDL file hosted on a server).  I need to be able to perform this from either an ANT or MAVEN build script.
    I have Flash Builder 4.1 Pro, which is nice, but with multiple developers, I really need a way to build the entire project from the command-line without ever launching the IDE.  Has anyone managed to do this and can point me to the documentation?  So far, my search for Adobe documentation regarding command-line code generation has been fruitless.
    Thanks

    Anyone know of any work arounds?  Blog posts like this seem to leave little hope:
    http://mfeatonby.wordpress.com/2010/03/12/generating-actionscript-classes-from-wsdl/

  • Java command line run code question?

    hello all:
    I met a question and want to get some suggestion from you.
    I have one file TestOne.java located in
    folder "c:\temp\aaa" which contains only one file(TestOne.java).
    package samples.java2beginner.gui;
    import java.io.*;
    public class TestOne {
         public static void main(String[] args) {
                System.out.println("hello world");
    }I use the following command to compile this java code:
    c:\temp\aaa\javac TestOne.java // everything is ok.
    In order to run this program, I have to manually create
    folder hierarch "samples\java2beginner\gui" in "c:\temp\aaa" and
    use the command
    c:\temp\aaa\java samples.java2beginner.gui.TestOne to run this program.
    My question is: is there any method that I can directly run
    this java program without manually create "samples\java2beginner\gui"
    which is annoying?
    thank you

    hello atmguy and DevMentee:
    Thank you for your great suggestion.
    I guess I didn't say my question clearly.
    The class file compiled from TestOne.java is TestOne.class which cannot be modified.(so i cannot erase the package line or any kind of modification)
    I want to run the java program from command line.
    currently I have to create "samples\java2beginner\gui" and copy TestOne.class to there.
    My question is: given one class file only(so you only get the TestOne.class),
    do you have method to run it from command line?
    so at this case you don't know which package the .class belongs to.
    You might think my question is silly. The reason I posted the question because
    I found problems when I use jode to decompiler a class file.
    JODE is a java decompiler from jode.sourceforge.net
    Given the above class file "TestOne.class", I cannot use jode to decompile it, because I have to run jode with the following method:
    c:\temp\aaa\java jode.decompiler.Main -cp samples.java2beginner.gui.TestOne
    which in fact is impossible given only .class file?
    because the reason we use jode is to decompiler, how can you know the package
    structure before decompile?!
    so the problem came to my original question.
    thank you all.

  • User exit code -  help required

    Hi Experts,
    I need to write a user exit for the field Posting level in the query. The logic is ,when posting level is either 10 or 20 for an ITEM then Key figure "Period value GC" should be divided by two and the result shouls be stored in the same Key figure.
    Technical names of the fields are as follows:
    Posting Level - 0cs_plevel . We have created a user exit variable ZBSUSER.
    Item - 0ITEM
    Period Value GC - 0cs_per_gc.
    Please let me know  the code to be written in CMOD to achieve the above result.
    Thanks,
    Kavitha Jagannath

    Hi,
    I need to write a user exit for the field Posting level in the query. The logic is ,when posting level is either 10 or 20 for an ITEM then Key figure "Period value GC" should be divided by two and the result shouls be stored in the same Key figure.
    You can do it in report it self you don't need EXIT CODE.
    Steps:
    1. Create a RKF and restrict (Include)ITEM = 10 and 20 &  drag and dropn Period value GC   " RKF -1
    2. Create another RKF and EXCLUDE ITEM = 10 and 20 &  drag and dropn Period value GC.  " RKF -2
    3. In Columns display both and create Formula-1 and divide RKF-1 with 2.
    4. Create a Formula and add Formula-1 and RKF -2  
    5. Hide unwanted calculations
    Your problem is resloved.
    Thanks
    Reddy
    Edited by: Surendra Reddy on Dec 14, 2009 2:25 PM

  • Parsing java command line output to a gui

    Dear All,
    I am trying to implement a search engine for a project, i have a java file called Searcher.java, which searches for a particular text or sentence and gives the output based on the number of hits on a particular document, the document with the max hits is displayed first and so on,all the documents are are stored in a text file, I am trying to create a GUI for this file, the gui would consist of a text box,submit button,a list and a text area , when a user enters the text to search all the entries are displayed in the list box and upon clicking the individual item in the list the description should open up in the text area.
    The problem i am encountering is that i am not able to parse the output of the searcher.java file onto the GUI, i have no clue as to how to implement it , i would really appreciate it if anyone could help me out.
    the code for Searcher.java is as follows
    import java.util.*;
    public class Searcher {
    /** Specify the work directory !! */
    private static final String rootDir = "C:/HR/GUIAssign/";//on PC
    // private static final String rootDir = "/research/gm/Java/IR/"; // on Unix
    private static final String stopWordFile = "iStopWords.txt";
    private static final String docCollFile = "iDocColl.txt";
    private static final String invertedIndexFile = "ioInvertedIndex.txt";
    private StopWordSet stopWords = new StopWordSet(rootDir + stopWordFile);
    private Stemmer stemmer = new Stemmer();
    private TextTokenizer tok;
    private TextParser parser;
    private InvertedIndex inv;
    /** Creates a new instance of Searcher */
    public Searcher(TextTokenizer tok, TextParser parser) {
    this.tok = tok;
    this.parser = parser;
    ReaderWriter rw = new TextFileReaderWriter(rootDir);
    inv = rw.readInvertedIndex(invertedIndexFile);
    List search(String query) {
    System.out.println("\nSearching for <" + query + ">.");
    List hits = new ArrayList();
    int nbOfDocs = parser.getNbOfReadDocs();
    System.out.println("\nSearching for <" + query + "> among " + nbOfDocs +
    " documents.\n");
    double scores[] = new double[nbOfDocs]; // initial values 0.0
    String term;
    tok.setText(query);
    while(tok.hasMore()) {
    System.out.println("\nNext term: ");
    term = tok.nextToken();
    System.out.println(term);
    if(stopWords.contains(term))
    continue; // this terms can be ignored
    term = stemmer.stem(term); // apply the stemmer to get the root
    System.out.println("\n\nInfo on the term \"" + term + "\":");
    IndexTerm indexTerm = inv.getIndexTerm(term);
    if(indexTerm == null)
    System.out.print("Not in the vocabulary.");
    else {
    System.out.print("It appears " + indexTerm.getTermFreq() + " times, in "
    + indexTerm.getDocFreq() + " documents:\t");
    Iterator itr = indexTerm.getIterator();
    while(itr.hasNext()) {
    DocFreq docFreq = (DocFreq) itr.next();
    scores[docFreq.getDocId()] += docFreq.getFreq() /* / indexTerm.getDocFreq() */ ;
    // create hits from documents that have non-zero scores
    for(int i = 0; i < nbOfDocs; i++)
    if(scores[i] > 0.0)
    hits.add(new Hit(i, scores));
    // sort them in descending order of scores
    Collections.sort(hits, new Hit.CompareByScore());
    return hits;
    * @param args the command line arguments
    public static void main(String[] args) {
    TextTokenizer tok = TextTokenizer.getTokenizer("alpha");
    TextParser parser = new DummyParser(rootDir, tok);
    Searcher searcher = new Searcher(tok, parser);
    List hits = searcher.search("trade and board coffee, stock x is common");
    Iterator it = hits.iterator();
    while(it.hasNext()) {
    Hit hit = (Hit) it.next();
    int index = hit.getDocIndex();
    Doc doc = parser.getDoc(index);
    System.out.println("\n\nDoc " + index + " has a score of: " +
    hit.getScore() + "\n*** " + doc.getTitle() + " ***\n" +
    doc.getText());
    this code runs perfectly and gives the output on the command line
    the code for the GUI is as follows
    import java.awt.* ;
    import java.awt.event.* ;
    import javax.swing.* ;
    import javax.swing.event.*;
    public class HRSearch extends JFrame implements ActionListener {
    // keep references to all event sources
    private JLabel searchLabel;
    private JTextField searchField ;
    private JButton submitButton ;
    private JScrollPane searchScrollPane;
    private JTextArea textArea ;
    public HRSearch()
              Container contentPane = /*this.*/getContentPane( ) ;
              JPanel submitPanel = new JPanel();
              submitPanel.setLayout(new FlowLayout(FlowLayout.CENTER));
              searchLabel = new JLabel("Search: ");
              searchLabel.setEnabled(false);
              submitPanel.add(searchLabel);
              searchField = new JTextField("", 20) ;
              searchField.setEditable(true) ;
              searchField.addActionListener(this) ;
              searchField.setEnabled(false);
              submitPanel.add(searchField) ;
              submitButton = new JButton("Submit") ;
              submitButton.addActionListener(this) ;
              submitButton.setEnabled(false);
              submitPanel.add(submitButton);
              contentPane.add(submitPanel, BorderLayout.NORTH);
    JPanel mainPanel = new JPanel() ;
                   mainPanel.setLayout(new FlowLayout(FlowLayout.LEFT)) ;
              JList searchList = new JList() ;
              // searchList.setEditable(false) ;
              searchList.setVisibleRowCount(20) ;
              searchScrollPane = new JScrollPane(searchList);
              mainPanel.add(searchScrollPane) ;
              textArea = new JTextArea("", 20, 40) ;
              textArea.setEditable(false) ;
              mainPanel.add(new JScrollPane(textArea) /*, BorderLayout.CENTER */) ;
              contentPane.add(mainPanel, BorderLayout.CENTER) ;
    public void actionPerformed(ActionEvent e) {
    String text ; // response to action event
    Object source = e.getSource( ) ;
    if (source != searchField && source != submitButton)
    return; // not interested in other actions
    // get text, trim leading and trailing spaces
    text = searchField.getText( ).trim() ;
    try {
    textArea.setText(textArea.getText() + "\n" + " " );
    catch(NumberFormatException exc) {
    JOptionPane.showMessageDialog(
    this, // address of "parent" or "anchor" frame
    "Not a number !", // the error message
    "Number Format Exception", // title of this modal dialogue
    JOptionPane.ERROR_MESSAGE // nature of this dialoge
    public static void main(String args[]) {
              final JFrame f = new HRSearch();
              // f.setBounds(100,100,500,450);
              f.pack();
              f.setVisible(true);
              f.setDefaultCloseOperation(EXIT_ON_CLOSE);
    i am stuck at this point and dont know what to do , please help me out.
    regards
    harsha

    I'm not positive I understand your problem... but let me recap what I think it is, then provide a solution:
    Your searched program can be run from the command line, and prints out (using system.out) the data you want. But NOW you want to create a GUI class, that intercepts that output, and displays it on the screen, and you can't because its going to the output stream and you're GUI isn't able to get it.
    If this is the case, what you can do is add two constructors to your Searcher class:
    public Searcher()
    this(System.out);
    public Searcher(OutputStream out)
    this.out = out;
    The idea being, that if you don't specify an output stream, the output goes to the console like normal. But if you do specify an output stream, the data gets fed back to you. So then in your GUI, you can do some binding of PipedInputStream and PipedOutputStream so when the Searcher class prints out, it comes right through the pipe into your GUI where you are waiting to read it.
    If this wasn't your problem, sorry :(
    Best,
    -Riyad

  • DAC - Mark as completed - From Command Line?

    I have a exec plan which has around 50 tasks... This exec plan starts when a source file is posted in source file folder. We have a .bat file which checks for source file, once it find the file, it starts exec plan. .bat runs in loop, so once file is loaded it will again check for source file..
    Now my question is if 3rd task (out of 50) does not load any records/does not meet required conditions, I would like to skip the remaining part of exec plan, as they dont have meaning without any records loaded in 3rd task. How can I go this in command line? daccmdline helps me to stop the exec plan, but no mark it as complete..
    Would like to do this, so next file can be started quick and we dont have wait for all 50 tasks to complete.
    Can we mark is as complete only from UI? Or can I update status in some of DAC tables to achieve this (not sure if this is supported!!)??
    Please let me know.
    Thanks.
    Ash

    Hi,
    There is no option to mark as completed from the command line.
    Create a task group for the remaining sessions and set the order of execution for those tasks and before doing this step you can create one session at informatica level which will check whether the file has been generated or not.
    If the file has not been generated then you are not going to execute the remaining tasks.
    Thanks & Regards,
    Navin Kumar Bolla

  • File adapter OS command line - Calling a command remotely ??

    Hi,
    We have a scenario where in which receiver file adapter after putting a file on the FTP  , a subsequent XML loader needs to be called which would load data into the client legacy ERP system.
    There seems to be some idea about doing it through file adapter OS command line.
    The problem is the how to call this loader command remotely from our file adapter OS command line.
    Any help would be appreciated ???

    >> The problem is the how to call this loader command remotely from our file adapter OS command line.
    The below link might be helpful ...
    http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature

  • REP- 50004 no report specified in the command line

    hello,
    i dont want to specify the connection string in the URL, so in the cgicmd.dat i added :
    test: userid=scott/tiger@orcl destype=cache desformat=pdf server=rep_oas %*
    in the URL :http://oas:7777/reports/rwservlet?cmdkey=test&report=adm31002.rdf
    the result of the execution is
    REP-5004 no report specified in the command line
    can you help me
    thanks

    Hi,
    try
    http://sgarcia.eeq1:8889/reports/rwservlet?report=R_MISOL1.rdf&PARAMFORM=no&destype=cache&desformat=pdf&CODIGO_CUENTA=215&EMPRESA=EEQSA&EMPLEADO=25243&V_PATH=Z:\bin&cmdkey=cmx
    regards
    Rainer

  • How to create an alias for a custom command line with paramters

    Is it possible to create an icon that runs a terminal command line ?
    What i want to do is start firefox with a specific profile. In terminal this is done by using Firefox -P [profileName]
    How can I put this in an alias (or something else) ?
    I tried creating an alias that changing the original but it won't let me insert a command line.
    Any help ?

    In my .profile this works: alias f="/Applications/Firefox.app/Contents/MacOS/firefox -P doug"
    for starting under my profile. Make sure you run source ~/.profile if you add an alias to .profile
    Starting default FFox profile is /Applications/Firefox.app/Contents/MacOS/firefox -P swxazqvy.default
    And for Desktop icon to start whichever profile, open Script Editor and paste with proper changes(and save as an app(maybe to Desktop again?) :
    do shell script "/Applications/Firefox.app/Contents/MacOS/firefox -P doug"
    And you can make an executable with icon in a bash script with above and chmod u+x it and save to Desktop too.
    Message was edited by: doug pennington

  • Command Line Build - Java heap space error

    I'm attempting to build a Flex app via the command line. Even though the build works fine from within the Flash Builder IDE, I get the following error when I attempt to build via the command line
    C:\code\software\web_stuff>"C:\Program Files\Adobe\Adobe Flash Builder Beta 2\FlashBuilderC.exe" --launcher.suppressErrors -noSplash -application org.eclipse.ant.core.antRunner -data "C:\code\software\web_stuff" -file C:\code\software\web_stuff\build.xml WebControlBrowser
    Buildfile: C:\code\software\web_stuff\build.xml
    WebControlBrowser:
    [fb.exportReleaseBuild] Compiling 1 application to C:\code\software\web_stuff\WebControlBrowser\bin-release...
    [fb.exportReleaseBuild] Exception in thread "Code Model Worker" java.lang.OutOfMemoryError: Java heap space
    [fb.exportReleaseBuild]         at org.eclipse.core.internal.runtime.InternalPlatform.getLog(InternalPlatform.java:404)
    [fb.exportReleaseBuild]         at org.eclipse.core.runtime.Plugin.getLog(Plugin.java:282)
    [fb.exportReleaseBuild]         at com.adobe.flexbuilder.codemodel.internal.bridge.WorkspaceSpecification.log(WorkspaceS
    pecification.java:136)
    [fb.exportReleaseBuild]         at com.adobe.flexbuilder.codemodel.internal.parsing.ASTokenizer.parseTokens(ASTokenizer.
    java:386)
    [fb.exportReleaseBuild]         at com.adobe.flexbuilder.codemodel.internal.search.SWCSearchDataProvider.indexFiles(SWCS
    earchDataProvider.java:440)
    [fb.exportReleaseBuild]         at com.adobe.flexbuilder.codemodel.internal.search.SWCSearchDataProvider$2.run(SWCSearch
    DataProvider.java:364)
    [fb.exportReleaseBuild]         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    [fb.exportReleaseBuild]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    [fb.exportReleaseBuild]         at java.lang.Thread.run(Unknown Source)
    BUILD FAILED
    C:\code\software\web_stuff\build.xml:4: java.lang.OutOfMemoryError: Java heap space
    Total time: 1 minute 0 seconds
    FlashBuilderC:
    An error has occurred. See the log file
    C:\code\software\web_stuff\.metadata\.log.
    I've attached the .log file that is referenced.

    Why isn't this documented somewhere? or if it is why isn't it easy to find?
    This link ought to have a link to common issues people run into.
    I just spent an hour trying to solve this same problem. FlashbuilderC.exe wouldn't even work on very small projects until I found this post, so thanks.

  • Compile application using command line

    I want to be able to compile a personal profile application using the command line. Up until now I've used an IDE (WSDD) to compile and test my application but I need to be able to compile it using just the command line.
    Any help on the matter is much appreciated, thanks
    MBliss

    Thanks for the reply but unfortunately i'm not trying to compile a MIDP application, which is what the link refers to. I did however find out the -bootclasspath arguments i needed.

  • Grant and revoke privilages from command line interface

    hi all,
    I have a lot of users that I need to give them a set of privileges to folders and containers of the repository, i thought that using the command line interface should help in loading a script.
    i checked the manual for the syntax for such a command (i.e. to grant privileges) but i couldn't, searched the net and i didn't find anything.
    So can we grant privileges from the command line interface and how ?
    by the way is there anyway to create users from command line interface as well ?\
    thanks in advance and have a good one

    The granting of access rights cannot be done with a CLI script in Designer. Instead you have to use the Designer API Pl/Sql packages.
    For detailed information, refer to the "API and Model Reference Guide", which is
    installed with the Designer Repository Documentation, or can be found on OTN > Doco > Designer site.
    Scroll through that document to the Reference section. You will need to read up on two topics at least: Workarea and Container Context, Privileges and Access Rights.
    To grant rights, the easiest way is to grant them "just like some existing ones".
    To do this, you'll need a Pl/Sql procedure with 5 input parameters:
    1) the workarea context
    2) the container to look at
    3) the user to look like
    4) the container to grant access to
    5) the user to grant access for
    The Pl/Sql procedure then needs to make a series of Repository API package calls to set context and get container IRIDs:
    JR_CONTEXT.Set_Workarea (workareaname) - to set the context workarea
    JR_CONTEXT.Set_Working_Folder (sourcefoldername) - to specify the source container
    JR_CONTEXT.Working_Folder (sourcefolderid) - to get the ID of the source container
    JR_CONTEXT.Set_Working_Folder (targetfoldername) - to specify the target container
    JR_CONTEXT.Working_Folder (targetfolderid) - to get the ID of the target container
    OR you can just do a couple queries after you set the WA CONTEXT such as ...
    Select IRID from CI_Application_Systems where NAME = <sourcefoldername>
    Select IRID from CI_Application_Systems where NAME = <targetfoldername>
    Then you get the list of rights desired, and grant them back to the target user.
    JR_ACC_RIGHTS.Get_Acc_Rights (sourcefolderid, sourceusername) > AccessList
    [gets list of existing rights for some user on a container]
    JR_ACC_RIGHTS.Grant_Priv_List (targetfolderid, targetusername, AccessList, Cascade? = TRUE)
    [to set the list of rights for a user against the target container and its subcontainers]
    There are other ACC_RIGHTS packages, like Grant_Priv, Revoke_Prive, Revoke_Priv_List, etc that you can use as well to build up a set of access management scripts.
    Hope this helps

  • Installing SQL Server 2008 R2 via command line - setup100.exe returned exit code 0x84BC06B2

    I am receiving an exit code 0x84BC06B2 when installing SQLExpress via the command line on a PC that also has SQL Server 2012 installed.  Below is the log file generated:
    11/18/2014 01:02:41.631 Help display: false
    11/18/2014 01:02:41.642 Checking to see if we need to install .Net version 2.0
    11/18/2014 01:02:41.653 Determining the cluster status of the local machine.
    11/18/2014 01:02:41.665 The local machine is not configured as a cluster node.
    11/18/2014 01:02:41.675 Attempting to find media for .Net version 2.0
    11/18/2014 01:02:41.686 .Net version 2.0 is installed
    11/18/2014 01:02:41.697 RedistMSI::GetExpectedBuildRevision - Setup expects MSI 4.5.6001.22159 at the minimum
    11/18/2014 01:02:41.709 Attempting to get Windows Installer version
    11/18/2014 01:02:41.721 Windows Installer version detected: 5.0.7601.18493
    11/18/2014 01:02:41.733 RedistMSI::IsVistaRTM - Not Vista RTM build
    11/18/2014 01:02:41.745 Required version of Windows Installer is already installed
    11/18/2014 01:02:41.772 Strong name verification disabling is not required
    11/18/2014 01:02:41.781 /? or /HELP or /ACTION=HELP specified: false
    11/18/2014 01:02:41.793 Help display: false
    11/18/2014 01:02:41.805 Attempting to launch landing page workflow
    11/18/2014 01:02:41.816 Attempting to set setup mutex
    11/18/2014 01:02:41.827 Setup mutex has been set
    11/18/2014 01:02:41.838 Attempting to launch global rules workflow
    11/18/2014 01:02:41.849 Media source: c:\sqlexpress\
    11/18/2014 01:02:41.860 Install media path: c:\sqlexpress\x86\setup\
    11/18/2014 01:02:41.870 Media layout: Core
    11/18/2014 01:02:41.881 Attempting to get execution timestamp
    11/18/2014 01:02:41.892 Timestamp: 20141118_010240
    11/18/2014 01:02:41.903 Attempting to run workflow RUNRULES /RULES=GlobalRules
    11/18/2014 01:02:41.915 Attempting to launch process c:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x86\setup100.exe
    11/18/2014 01:02:50.467 Process returned exit code: 0x00000000
    11/18/2014 01:02:50.484 Workflow RUNRULES /RULES=GlobalRules returned exit code: 0x00000000
    11/18/2014 01:02:50.496 Attempting to launch component update workflow
    11/18/2014 01:02:50.509 Media source: c:\sqlexpress\
    11/18/2014 01:02:50.522 Install media path: c:\sqlexpress\x86\setup\
    11/18/2014 01:02:50.534 Media layout: Core
    11/18/2014 01:02:50.546 Attempting to get execution timestamp
    11/18/2014 01:02:50.558 Timestamp: 20141118_010240
    11/18/2014 01:02:50.570 Attempting to run workflow COMPONENTUPDATE
    11/18/2014 01:02:50.581 Attempting to launch process c:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x86\setup100.exe
    11/18/2014 01:03:02.572 Process returned exit code: 0x00000000
    11/18/2014 01:03:02.590 Workflow COMPONENTUPDATE returned exit code: 0x00000000
    11/18/2014 01:03:02.602 Attempting to launch user requested workflow locally
    11/18/2014 01:03:02.614 Attempting to find local setup.exe
    11/18/2014 01:03:02.626 Local bootstrap folder path: c:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\
    11/18/2014 01:03:02.639 Local setup100.exe full path: c:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x86\setup100.exe
    11/18/2014 01:03:02.650 Media source: c:\sqlexpress\
    11/18/2014 01:03:02.661 Install media path: c:\sqlexpress\x86\setup\
    11/18/2014 01:03:02.672 Media layout: Core
    11/18/2014 01:03:02.684 Attempting to get execution timestamp
    11/18/2014 01:03:02.695 Timestamp: 20141118_010240
    11/18/2014 01:03:02.706 Attempting to run user requested action from local setup100.exe
    11/18/2014 01:03:02.717 Attempting to launch process c:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x86\setup100.exe
    11/18/2014 01:07:28.302 Process returned exit code: 0x84BC06B2
    11/18/2014 01:07:28.314 Local setup100.exe returned exit code: 0x84BC06B2
    11/18/2014 01:07:28.326 Attempting to release setup mutex
    11/18/2014 01:07:28.338 Setup mutex has been released
    11/18/2014 01:07:28.351 Setup closed with exit code: 0x84C40013
    11/18/2014 01:07:28.362 ======================================================================
    Does anyone have any ideas of why this is failing?

    Here is the summary.txt:
    Overall summary:
      Final result:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
      Exit code (Decimal):           -2068052302
      Exit facility code:            1212
      Exit error code:               1714
      Exit message:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
      Start time:                    2014-11-18 01:03:03
      End time:                      2014-11-18 01:07:23
      Requested action:              Install
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_010240\Detail.txt
      Exception help link:           http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.50.1600.1%26EvtType%3d0xE53883A0%400xBE03358B%401306%4023
    Machine Properties:
      Machine name:                  PC81372
      Machine processor count:       4
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x86
      Process architecture:          32 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered 
      Sql Server 2008      SQLEXPRESS           MSSQL10.SQLEXPRESS             Database Engine Services                 1033      
              Express Edition      10.2.4000.0     No        
      Sql Server 2008      SQLEXPRESS           MSSQL10.SQLEXPRESS             SQL Server Replication                   1033      
              Express Edition      10.2.4000.0     No        
    Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      SPLevel:                       0
      Installation location:         c:\sqlexpress\x86\setup\
      Installation edition:          EXPRESS
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      True
      AGTSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Disabled
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASDOMAINGROUP:                 <empty>
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 *****
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Automatic
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_010240\ConfigurationFile.ini
      CUSOURCE:                      
      ENABLERANU:                    True
      ENU:                           True
      ERRORREPORTING:                False
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      SQLENGINE,REPLICATION
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  <empty>
      FTSVCPASSWORD:                 *****
      HELP:                          False
      IACCEPTSQLSERVERLICENSETERMS:  True
      INDICATEPROGRESS:              False
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    WORKSTUDIO
      INSTANCENAME:                  WORKSTUDIO
      ISSVCACCOUNT:                  NT AUTHORITY\NetworkService
      ISSVCPASSWORD:                 *****
      ISSVCSTARTUPTYPE:              Automatic
      NPENABLED:                     0
      PASSPHRASE:                    *****
      PCUSOURCE:                     
      PID:                           *****
      QUIET:                         True
      QUIETSIMPLE:                   False
      ROLE:                          AllFeatures_WithDefaults
      RSINSTALLMODE:                 FilesOnlyMode
      RSSVCACCOUNT:                  NT AUTHORITY\NETWORK SERVICE
      RSSVCPASSWORD:                 *****
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  SQL
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           BUILTIN\USERS
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  False
      TCPENABLED:                    1
      UIMODE:                        AutoAdvance
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_010240\ConfigurationFile.ini
    Detailed results:
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      MSI status:                    Failed: see details below
      MSI error code:                1714
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_010240\sql_engine_core_shared_loc_Cpu32_1033_1.log
      MSI error description:         The older version of SQL Server 2008 R2 Database Engine Shared cannot be removed.  Contact your technical support group.  
      Configuration status:          Failed: see details below
      Configuration error code:      0xBE03358B@1306@23
      Configuration error description: Could not find the Database Engine startup handle.
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_010240\Detail.txt
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0xBE03358B@1306@23
      Configuration error description: Could not find the Database Engine startup handle.
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_010240\Detail.txt
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_010240\SystemConfigurationCheck_Report.htm

  • An error encounter on test devise (real devise) i.e "apple mach -o linker error linker command failed with exit code 1", please any body help me to solve the problem

    Hello, I am using tesseract api in my app, which run perfectly on simulator but on test devise (real devise) it is showing an error i.e "apple mach -o linker error linker command failed with exit code 1", please any body help me to solve the problem

    if you can't compile the webutil.pll in your forms developer you need to set the forms_builder_classpath in you windows registry. You have to add the frmwebutil.jar,jacob.jar to the registry key. The configuration files you mention are for running the forms.

Maybe you are looking for

  • Getting UNDECIDED changes in v$streams_capture

    DB Version: 10.1.8.1, LOCAL capture. I have a situation where the streams administrator (say APPS) is not the owner of the base table (say APPLSYS), for which I want to capture the DMLs. Streams Administrator owns the queue, queue table and has been

  • With an upgrade to RoboHelp 11 from RoboHelp 9, does the upgrade cost cover any additional upgrades, such as 11.1 or 11.2?

    I previously purchased RoboHelp 9, and this covered me for the updates to 9.1 and 9.2. If I upgrade to RoboHelp 11 directly, will that 600$ cover any potential 11.1 or 11.2 updates?

  • PPC Support for OS X Server

    What time period will OS X Server be supporting the PPC-platform? I read it somewhere but don't remeber where. I have to buy a Xserve in the months to come so as it is highly probable that the Xserves will be updated as the last product it will be to

  • Save for Web Fails in CS6

    I installed Adobe CS6 on a new Windows 7 64 system. When I try to save for web (64 or 32),  I get the error "The operation cannot complete because of an unknown error [CANT]". Somebody suggested that the problem is  that I lack the correct runtimes,

  • Imaging Software

    Thanks for your reply Chris, is this not just a cloning tool rather than a more interactive version as mentioned above?