You are on page 1of 2

Not sure if anyone can help. I have a Crystal that runs from a query.

This jobs
is kicked off via a panel as normal.
When i run with one of the prompt fields as a % (this relates to a like statment
in the query) the jobs ques up and then runs. If i put a specific value in the
job just sits as queued on the scheduler and doesnt run.
The one thing i noticed is that when % is used the command line says
D:\psoft\fin8sp3\BIN\CLIENT\WINX86\PSCRRUN.EXE -CTORACLE -CDFS8PRD -COBRIGHTS -C
P%OPRPSWD% -I681528 -RP"D:\psoft\fin8sp3\CRW\FMGAR06A" -OT6 -OPD:\psoft\fin8sp3\
appserv\prcs\fs8prd\log_output\CRW_FMGAR06A_681528 -LGENG -OF2 -ORIENTP "RP501"
"100092" "2002
When a value is used
%TOOLBIN%\PSCRRUN.EXE -CTORACLE -CDFS8PRD -COBRIGHTS -CP%OPRPSWD% -I681526 -RP"%
CRWRPTPATH%\FMGAR06A" -OT6 -OP%LOG/OUTPUT DIRECTORY% -LGENG -OF2 -ORIENTP "RP501
" "100092" "2002-12-08" "2003-12-08" "BRIGHTS" "OB" "057006%%"
The other strange thing is that this only happens for certain users which makes
even less sense as ive gone through the security and everything seems fine, any
ideas why this might be happening would be greatly appreciated as ive run out of
ideas.
Thanks
C:\PT8.50\bin\client\winx86\PSCRRUN.EXE -CTORACLE -CDHC91WDE2 -COPS -CPPS -I6815
28 -RP"C:\PT8.50\crw\ENG\XRFWIN" -OT6 -OPD:\temp -LGENG -OF2 -ORIENTP
Tools 8.20.08
=============
Linha de Comando:
%TOOLBIN%\PSCRRUN.EXE -CTORACLE -CDHC80HABS -COPS -CP%OPRPSWD% -I2259492 -RP"%CR
WRPTPATH%\XRFWIN" -OT6 -OP%LOG/OUTPUT DIRECTORY% -LGPOR -OF2 -ORIENTL
Dir Trab:
%DBBIN%
Tools 8.50.10
=============
Linha de Comando:
%TOOLBIN%\PSCRRUN.EXE -CTORACLE -CDHC91WDE2 -COPS -CP%OPRPSWD% -I9613 -RP"XRF
WIN" -OT6 -OP"%LOG/OUTPUT DIRECTORY%" -LGPOR -OF2 -ORIENTL
Diretório de Trabalho:
%DBBIN%
MessageBox(0, "", 30000, 0, "Início: " | %Datetime);
For &i = 1 To 100
&Command1 = "D:\psoft\hc91wdmo\bin\client\winx86\PSCRRUN.EXE -CTORACLE -CDHC9
1WDMO -COPS -CPALEGRIA -I" | &i | " -RP" | """D:\psoft\hc91wdmo\crw\ENG\XRFWIN""
" | " -OT6 -OPD:\temp\temp -LGENG -OF2 -ORIENTP";
SQLExec("exec dbms_lock.sleep (2)");
&Command1_Success = Exec(&Command1, %Exec_Asynchronous + %FilePath_Absolute);
If &Command1_Success = 0 Then
/* Continue on with program */
Else
MessageBox(0, "", 30000, 0, "UH OH!");
End-If;
End-For;
MessageBox(0, "", 30000, 0, "Fim: " | %Datetime);
================================================================================
======================
MessageBox(0, "", 30000, 0, "Início: " | %Datetime);
For &i = 1 To 100
&Command1 = "[1]\bin\client\winx86\PSCRRUN.EXE -CTORACLE -CD[2] -CO[3] -CP[4]
-I" | [5] | " -RP" | """[1]\crw\ENG\XRFWIN""" | " -OT6 -OP[6] -LGENG -OF2 -ORIE
NTP";
SQLExec("exec dbms_lock.sleep (2)");

&Command1_Success = Exec(&Command1, %Exec_Asynchronous + %FilePath_Absolute);


If &Command1_Success = 0 Then
/* Continue on with program */
Else
MessageBox(0, "", 30000, 0, "UH OH!");
End-If;
End-For;
MessageBox(0, "", 30000, 0, "Fim: " | %Datetime);
================
Parametrizáveis:
================
[1] D:\psoft\hc91wdmo
[2] HC91WDMO
[3] PS
[4] ALEGRIA
[5] &i
[6] D:\temp\temp
F:\psoft\HC80HABS\BIN\CLIENT\WINX86\PSCRRUN.EXE -CTORACLE -CDHC80HABS -COPS -CP%
OPRPSWD% -I2259495 -RP"F:\psoft\HC80HABS\CRW\XRFWIN" -OT6 -OPF:\psoft\HC80HABS\a
ppserv\prcs\HC80HABS\log_output\CRW_XRFWIN_2259495 -LGPOR -OF2 -ORIENTL
Linha de Comando:
F:\psoft\HC80HABS\BIN\CLIENT\WINX86\PSCRRUN.EXE -CTORACLE -CDHC80HABS -COPS -CP
%OPRPSWD% -I2259495 -RP"F:\psoft\HC80HABS\CRW\XRFWIN" -OT6 -OPF:\psoft\HC80HABS\
appserv\prcs\HC80HABS\log_output\CRW_XRFWIN_2259495 -LGPOR -OF2 -ORIENTL
Dir Trab:
C:\Oracle\product\10.1.0\Client_1\BIN

You might also like