Command Line SQR
When running a PeopleSoft process from the process scheduler, you can find the process id and the process status at the process monitor. If you run an sqr from the command line (work bench), it does not show up in the process monitor. How do you find the status of an sqr that is still running that was started from the command line (work bench?)
If you started a sqr from command line, it will not show on the process monitor page for sure. Process monitor will show only the processes that were started from run control pages in the application
To find the current status - you may have to go through the back end. Querying tables V$SESSION, V$SQL etc. or use OEM
Similar Messages
-
How do SQR command line arguments work?
Hello,
I am using sqrw version 8.52. I would like to run SQR's for testing purposes from the command line with no user intervention. I found documentation that says I can do something like this:
"C:\Program Files (x86)\PT85206\bin\sqr\ora\BINW\sqrw" nint268.sqr USERNAME/PASSWORD@DATABASE PARAM1 PARAM2 PARAM3 "-zifC:\users\kramej3\pssqr.ini" "-iC:\Program Files\PT85206\bin\sqr\;C:\temp\sqr_run\;"
...where PARAMx is a parameter that is passed to the INPUT statements in the SQR (first PARAM to first INPUT, second to second, etc.) Unfortunately, it doesn't seem to want to work this way - the parameters are not passed to the program. Am I doing this right?
Alternately: is there a version of sqrw that runs as a console application and does not spawn another window to do so? If I could have sqrw run as a console application, I could get around the parameter requirement by spawning sqrw.exe via a Python script and then attaching to the stdin and stdout file handles.
Thanks!
-JKSee peoplebooks on this subject.
I believe it is flags before arguments
PeopleTools 8.52: SQR for PeopleSoft Developers
Home > PeopleBooks > PeopleTools 8.52: SQR for PeopleSoft Developers > Using the SQR Command Line -
hi ,
i'm getting below while running sqr in 3-tier mode using process scheduler.
(sqr 2515) input required user interaction but user interaction was disabled by the -XI command line
can any one suggest me to resolve this problemYou should be able to get some more precise information from your Xorg logs, but I would bet it is related to the evdev driver. Some of the options in your xorg.conf no longer work with the latest version. For now you should be able to either map your mouse directly to the appropriate /dev/event* entry or change to the standard mouse driver, both of those methods should be in the wiki.
You are supposed to be able to use the evdev driver without the input section of your xorg.conf by using dbus/hal autodetection, but AFAIK at the moment the xorg-server package still isn't compiled with hal support, so you would have to patch and rebuild the package. -
Launche DDDAUDIT from commande line
Hi,
how to Launche DDDAUDIT and SYSAUDIT, Initial alter audit from commande line ?
Thank you.
PS Version 8.48.16Go to PS_HOME\bin\client\winx86, and run in a DOS prompt window :
pssqr -CT ORACLE -CD dbname -CA ps_username -CAP password -RP dddaudit -OT 2 -OF 2OT=2 for an output file
OF=2 for a PDF format file
That implies you already defined some env variables.
For more info, just kick pssqr on the OS prompt, you'll get all the options.
Or you could try to define a icon on your desktop pointing to the PSSQRW.EXE command and define the target as following - maybe the simplest way :
-ZIF+ps_home_path+\sqr\pssqr.ini -i+ps_home_path+\sqr\ -f+output_directory+ -KEEP -PRINTER:PD
Nicolas. -
Open and Close a command line exec via OpenG.lib in seperate VIs
Hi,
I'm aiming to perform tests on my UUT - over a command line based executable which established a USB connection, so - sendings commands and checking the return string.
So far i'm reusing the pipeNight.vi which is shared in the following post.
http://forums.ni.com/t5/LabVIEW/How-to-pass-input-to-a-DOS-executable-that-is-running-in/m-p/1763182...
However i wish expand from LabVIEW and utilise NI-TestStand sequence files to ramp up the test coverage and perform the tests automatically.
The issue i've encountered - every time i call the pipeNight.vi from a TestStand sequence Step, the USB connection is build up and torn down.
Although i'm not encountering any performance issues to date, i would ultimately like to open a session (i.e.establish the usb connection) - at the beginning of a sequence file, send a bunch or commands and check return strings, before closing the session at the end of the sequence file. This is surely a more effecient and elegant solution.
Is it somehow possible to split the pipeNight.vi into several VIs to realise this objective?
- Open
- Write/Read
- Close
i'd appreciate and help or alternatice solutions on this!
B.Regards
Kech
Solved!
Go to Solution.I had tried to explain in my initial post, that if i call the pipeNight.vi from a TestStand sequence file step, then establishes a USB connection and tears it done - for every command that i send/ respectively every sequence step that i run in TestStand. As i envisage multiple (several hundred) test steps, i woul like to improve effeciency by establishing the ESB connection once instead of multiple times.
-
How to send report output to two detinations at a time from command line?
Hi ,
how to send my report to two detinations at a time from command line i.e FILE and Mail ?
i created batchfile in that i mentioned one line for file(DESTYPE=FILE) perpose and another line for mail perpose(DESTYPE=Mail).i don't want to mention to lines.
i want to send my report out put two destinations at a time insted of running two times.
thx in advance.....
raghuhello,
did you try to use distribution for that ? check out the reports distribution facilities available in 6i.
regards,
the oracle reports team -
Error while running a Discoverer Workbook with parameter from command line
I am trying to run a discoverer report from command line and export the results in xls on to my local machine. I could do it fine for a simple workbook, but if I add a parameter(madatory) to the workbook and run it from command line specifying the parameter value I wanted to run the report for, I do not get any results. Here is the command line I am using.
dis51usr.exe /connect user/password@database /apps_user /apps_responsibility "System Administrator" /eul EUL_US /open C:\Disco\Test.DIS /sheet Testsheet /parameter Period Jan-07 /export xls C:\Disco\X.xls /batch
Parameter value is entered in correct format(Jan-07).
When I removed /batch from this to see if I get any error, Discoverer Desktop opened up, logged in and gets terminated saying 'Oracle Discoverer Desktop has encountered a problem and need to close. We are sorry for the inconvenience.'
Did anybody come across this issue before?Hello,
If you have a few minutes, Windows is also aborting for me:
the differences are, my situation is:
a) am running the command line from a .bat file
b) am NOT running with parms, want the discoverer query to come up for the user
c) am running a query from the database
i am signing in as myself BUT running a query that was created by a generic user called SREG
c) if i run the .bat file from Windows Explorer, the query opens fine
d) if i execute the .bat file from within Microsoft Access using the shell command,
the query opens and then aborts RIGHT BEFORE the parm screen would display
e) btw, if i modify the .bat file, to run a query from MY database signon, then (d) - running .bat file
from vb using SHELL command works
Do you have a ideas as to why (d) does not work? I would be very grateful for your time, tx, sandra
this is what i posted yesterday, tx: Re: Running Discoverer command line
tx, sandra -
Could not view data in the Em while in the command line query works
Hi, all,
I have met with this problem for several times.
I have an Oracle 10.0.2.0 running on Redhat linux E3.
After I insert or just input some data in a table. I could see the new data in the command line.
SQL> select * from tablename;
But I could not see the new data in the EM. If I export the table to, say, MS Access, the new data doesn't show. The data is there, but I have to wait for some time. (several mins to hours)
Do you have any idea of it??
Thank you very much!
QianThank you for your reply.
Why sometimes it doesn't show in other sessions, but sometimes it shows?
Any way, I will perform commit to see....
Qian
Message was edited by:
QianChen -
GUI Applications unable to use command line tools
Hi All-
I've searched, but I can't find a thread about this one, so...
On OS 10.4.5:
Whenever I use a GUI app that wants to use a command line tool (e.g. curl, df, java), the app fails giving an error message to the effect of "unable to find curl" or the like. It is as if the GUI cannot find my unix $PATH.
Examples:
-- Eclipse refuses to launch, because it appears to use "java xxxxxxx" to launch.
-- Automator fails to run certain Safari actions because they use curl to navigate web pages.
-- Carbon Copy Cloner fails to launch, because it can't find a tool (df, IIRC) to read drive/volume info
Possibly relevant details:
-- I can use the tool in question from the command line, so they are present, and in my $PATH, but the GUI can't find them.
-- I recently moved from an old G4 to a relatively new G5, and had issues migrating files, so I eventually just copied my entire home directory from the old machine to the new, replacing the freshly created one on the new machine. I feel like that missed something that tells the GUI where your $PATH is, or some other link between GUI and command line.
-- I created a new user, and that user does not experience the same troubles. This adds to my suspicion that it is account/PATH related.
Any help anyone can give it greatly appreciated.
-p
PM G5 dual 2.0 Mac OS X (10.4.5)Did you by any chance create an evironment.plist file? It is located in ~/.MacOSX/ If you don't know about it or don't know to look (.MacOSX is normally invisible), try this:
In Finder.app, in the "Go" menu select "Go to Folder..." (shift-command-G), type ~/MacOSX in the text field and hit OK, the finder should then open a window or complain.
If it opens a window and you find in it a file named environment.plist move that file to the desktop and try your applications. Do they work as advertized? Try again after logging in/out if things don't work. Do they work now?
Whatever hapens, tell us more... -
Error Received When Trying To Create DSN From The Command Line
All,
Your help is greatly appreciated in advance. I am having trouble packaging Oracle 10G for a batch file deployment. Everything is done except for getting the DSN created which is causing me major problems. We am working with the Oracle 10G R2 10.2.0.1.0 Client on Windows XP Professional SP2. The Oracle database resides on a Windows 2000 Professional Server SP4 running Oracle 9i.
Our Environment: I am creating two packages of the Oracle 10G client. The first is for a batch file distribution via LANDesk and the other package is for normal batch file install if someone from IT is installing this from a user's desk. Both scripts are really identical the only differences are how they are laid out. I only need help with the DSN creation as everything else is ready to go. I am going to focus on the Non-LANDesk batch file as once I fix this in one script the other one should also be fixed.
The Problem: The batch script copies the neccesary files to the temporary directory. I then extract the setup files to the temp folder. I run a custom Oracle install using the RSP file from a recorded install. After the install is complete I copy the TNS Names file to the proper location. I then try to call a CMD file with the ODBC command seen below the main script.
Script (May be easier to read if you download using link below):
@ECHO ON
::This batch files installs Oracle 10G Release 2 Version 10.2.0.1.0 with a Custom Response File
::Installation is Interactive
::All files are extracted from the ZIP file via the 7-Zip command line tool
::The Net Configuration Assistant TNS Names File is copied to its proper location
::The CCR ODBC connection is created once the install is complete
::All folders used for installation are cleaned up-deleted
@ECHO Setting Variables
set NetworkPath=\\dc-landesk\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD
set DefaultPackagePath=C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD
set ExtractionPath=C:\Temp_Oracle10G
set TempInstallFromPath=C:\Temp_Oracle10G\SetupFiles
set FileFolderCleanupPath=C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent
@ECHO Creating Directories
mkdir "C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD"
@ECHO Copying Files to DefaultPackagePath
copy /Y "%NetworkPath%\7za.exe" "%DefaultPackagePath%"
copy /Y "%NetworkPath%\CCR-ODBC.cmd" "%DefaultPackagePath%"
copy /Y "%NetworkPath%\Oracle10GCustom.rsp" "%DefaultPackagePath%"
copy /Y "%NetworkPath%\SetupFiles.zip" "%DefaultPackagePath%"
copy /Y "%NetworkPath%\tnsnames.ora" "%DefaultPackagePath%"
@ECHO Changing to Extraction Directory
cd "%DefaultPackagePath%"
@ECHO Extracting Files to path with no spaces
"%DefaultPackagePath%\7za.exe" x SetupFiles.zip -o%ExtractionPath% -aoa
@ECHO Please Open the "Task Manager" manager, Sort by "CPU" Descending
@ECHO Watch Task Manager For Javaw.exe, press any key when the process Disappears
@ECHO Install using Custom Response File
"%TempInstallFromPath%\setup.exe" -responseFile "%DefaultPackagePath%\Oracle10GCustom.rsp" -force -silent -noconsole
pause
@ECHO Copying NETCA (Net Configuration Assistant) TNS Names File to proper Location in Oracle Product Directory
copy /Y "%DefaultPackagePath%\tnsnames.ora" "C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN\tnsnames.ora"
@ECHO Creating ODBC Connections Using Oracle Driver installed by this Batch File
call "%DefaultPackagePath%\CCR-ODBC.cmd"
@ECHO Waiting 20 seconds before proceeding
ping -n 21 127.0.0.1 >NUL
@ECHO Remove Temp Files and Folders created during Install
rmdir /S /Q %ExtractionPath%
del /Q "%DefaultPackagePath%\*.exe"
del /Q "%DefaultPackagePath%\*.ora"
del /Q "%DefaultPackagePath%\*.rsp"
del /Q "%DefaultPackagePath%\*.reg"
del /Q "%DefaultPackagePath%\*.zip"
rmdir /S /Q %FileFolderCleanupPath%
@ECHO The Oracle 10G installation has been Completed
pause
ODBC Script
odbcconf.exe /a {CONFIGSYSDSN "Oracle in OraClient10g_home1" "DSN=CCR|Description=CCR_data|SERVER=BWB|Database=CCR"}
As soon as the command is called I see the following error message appear.
"CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259"
The really strange thing though is that if I let the main part of the script run (Not the ODBC call) and then immediately manually start the ODBC call script it works just fine. So, I don't really understand why the script can't add it itself. Or, I can go the Administrator Tools>Data Sources (ODBC)>and then add it manually which also works. I have tried just pasting the command directly in the main script, therefore, bypassing the call feature but it doesn't make a difference.
Link (Zip with all scripts mentioned above): http://www.cbridegum.com/Fourms/Oracle/Files.zip
Has anyone ever seen this kind of issue before? Does anyone have any idea on how to fix this? Any thoughts or suggestions would be great.
Thanks so much for your help in advance,
Clif BridegumAll,
I thought it may be related to spaces in the path in which the script was called from. I tried having the ODBC command script in another directory but the same thing happens. It will give me the "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259". As soon as the script is done running I can manually double click the script and it adds the DSN fine.
Thanks,
Clif Bridegum -
Single Sign On and Command line
Hi!
We have application without any logon form which executed from command line by BAT file:
app.exe Username Password par1 par2 ...
where par1, par2... is parameters of application
So question is: can Oracle Single Sign On set user credentials to the command line? Can we use OSSO for application without logon form?
Thank you.SSO is for web apps, you could try to use OID to perform the autentification of your application but you should change your application so it looks for the users in LDAP.
Greetings. -
Can't run JavaFX app as a jar file from command line
I'm trying to build a JavaFX app from scratch (that is, by including the jar file from the JavaFX SDK rather than by using the special JavaFX project type from NetBeans). It runs fine in NetBeans. However, when I try to launch it as a jar file from the command line (using "java -jar dist\TestApp") I get the following. Has anybody seen this before, and if so how can I fix it?:
*** Fallback to Prism SW pipeline
Exception in thread "main" java.lang.RuntimeException: java.lang.UnsatisfiedLink
Error: Can't load library: C:\dev\TestApp\dist\bin\mat.dll
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:
289)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:68)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherIm
pl.java:145)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:
27)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:97)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: C:\dev\RedactionT
oolPrototype\RedactionToolPrototype.Core\dist\bin\mat.dll
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoad
er.java:155)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoad
er.java:85)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:
30)
at com.sun.glass.ui.Application$1.run(Application.java:28)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:26)
at com.sun.glass.ui.win.WinApplication.<clinit>(WinApplication.java:33)
at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatform
Factory.java:20)
at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatform
Factory.java:17)
at com.sun.glass.ui.Application.Run(Application.java:51)
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:
279)
... 5 moreUnsatisfied link means that Java is trying to access a native library, but it cannot be found. As to why this error is being thrown, here is my guess:
If you open up one of the sample jars with a zip viewer, you will see that the Manifest file has the following entries:
>
Manifest-Version: 1.0
JavaFX-Version: 2.0
implementation-vendor: Oracle
implementation-title: BrickBreaker
implementation-version: 1.0
JavaFX-Application-Class: brickbreaker.Main
Created-By: JavaFX Packager
Main-Class: com/javafx/main/Main
>
In other words, a JavaFX project works a bit differently than a normal Java project. com/javafx/main/Main is used as the Main class and your "Main" class is called later.
If you are trying to build this from a normal Java project, then com/javafx/main/Main will not be created and it will call your Main class right away. Thus, whatever setup is needed to run JavaFX will not occur. -
Classpaths inside of Jar's effect on command line cp
If I have a jar with Class-Path set in the manifest, will Java ignore the classpath I use at the command line:
java -cp conf/log4j.properties;lib/a.jar com.some.target.Main
If "a.jar" has the class path in the manifest, will the cp I try to pass in get ignored? It seems the case.When you execute a command like
java SomeJar.jarthe only place that Java looks for a classpath is in the jar. -
Cisco Jabber MSI Install Command lines/ Orca MST file
Greetings....
We are trying to deploy cisco jabber 9.7.4 either by using msi command line or configuring a custom installer using Orca. Both options have worked partially. 2 places we are getting stuck. The EULA is prompting to accept (which if we run in quiet mode, it stalls and fails) and after the install I am prompted to select account type and server. The server is populated with the correct address but it defaults to the "use default server". It seems to work with the default server but I still need to select "Cisco IM and Presence" from the account type.
I followed the deployment guide for jabber to create the installer file.
I am pretty new to CUCM and CUP. So feel free to answer me like I am a 4th grader.
Attached are screen shots of the msi command line and the settings in Orca I was playing around with.
Any help and guidance is appreciated.In your doc you have:
msiexec /i CiscoJabberSetup.msi TPYPE=CUP ADDRESS=10.21.0.10 DOMAIN=chi-sd.com
TYPE=CUP is mispelled.
Regards
Aaron -
Get multiple values from Command-Line
Can any body tell how can I do this�
When I input a number, then I should be able to insert that number of lines (rows). Note that number
of columns is always 4.
I.e.: If I put number 3 in command-line, It should be like this & then exit from the program.
3
apple 10 20 30
orange 60 50 70
grapes 80 120 50
If I put 5, It should be like this,
5
one 54 57 67
two 78 21 54
three 89 22 69
four 78 32 99
five 89 21 11
Note that the user should be able to type these values (one 54 57 67) that is after he press enter
he should go to the next line & able input, Values (two 78 21 54) �like wise...Then after he
completes 5 row, he should exit from the program.
Can any-one help!...
.Please stick to your original thread. You're already getting help there.
http://forum.java.sun.com/thread.jspa?threadID=700811
Maybe you are looking for
-
ITunes 9.0.1 VS. 9.0.2
Hi all, I have a question regarding the new iTunes 9.0.2. If I downloaded would it affect my songs in the library that in the previous version. I mean do I need to import or add the songs again in the library if I download the new iTunes 9.0.2. Thank
-
Placing links in an Acrobat pop-up
Hi, I created a PDf of a PowerPoint document. On one of the pages I created a pop-up using the Mouse Enters and Mouse Exits actions. I have a Label button and an Icon button. The icon button is the pop-up. The label button is the one with the actions
-
Error on shopping cart : "No purchasing group exists"
Hi, While the user tries to add items to shopping cart through portal, he is getting error "No purchasing group exists" which stops the user from saving the shopping cart. We have checked org structure where all the necessary configuration is existin
-
German Language Special Characters not retrieved Correctly
I am using a rpc base apache axis web service receiving a vector /** creating object for calling the web service */ Call call = (Call) service.createCall(); /** setting the web service address by URL */ call.setTargetEndpointAddress(new java.net.URL(
-
Remember windows from last time
When Firefox starts: show my windows from last time. I have set it many times to remember from last time but it does not work. It just stopped working today for an unknown reason. When I relaunch Firefox it is still set to remember from last time, bu