How to view Tidal Job output in a query?
I am using a query to extract the standard output of a job:
select jobrun_id, dbms_lob.substr( jobrun_output, 4000, 1 )
from tidal.joboutput
where jobrun_id = 686361;
The query returns output in an XML format:
<TESXOUTPUT><MSG>Job output data is in XML format. To view job output upgrade your Client to latest version.</MSG><OUTPUT COMP="Y" RUN="1">eJzFVltv2zYUftevOBhQpB1CxXZuDQMXkC9...
How can I translate this output into readable text?
Thanks.
I was running the REST api command to get the job output and received the same result as you. I found a method in the documentation that allows you to get the output in readable form.
Here it is:
JobOutput.getOutputContent/id
where id is the job run id
Hope that helps :)
Similar Messages
-
How to view background job output
Hi experts,
I excecuted one of my Z report in background mode, its finished successfully, i want to view the output. How to view this output.
Otherwise to view this ourput only in Basis people or what? if its so i will contact the basis person. Otherwise give some idea how to view this output.
Thnx,
MohanaMohana,
Go to sm37
give the job name or *
give the username
give the program name
execute it
now tick the program that you had executed in the background
click on the spool button on the top
You will get a ABAP list under the field type
click it.
You wil be able to see the output of the program that you had executed in the background.When a program is executed in the background mode you will be able to see the output in the List Display mode and moreover you will be able to see at the max only 19 fields when a report is executed in the background.
You can check the jobs that are running in the background and their status in the table TBTCO.
Thanks,
K.Kiran. -
How to view purchase order output
Hi all,,
am an ABAPer..
i have an issue with the purchase order...
But before that, how to view the output of the purchase order..
from transaction me23n..
please let me know the procedure..
thanks in adv..You can get the output from ME23n. You need to go in Change Mode (=ME22n) for the output. If it is SRM PO then you need to go the section of 'Process Purchase Order' and there you can generate the output. 'Process Purchase Order' will be available with the role of Operational Purchaser or Strategic Purchaser role.
Reward points for helpfull answers.
Regards, Satya -
How to view/ammend jobs in DBA_JOBS using Enterprise Manager (Database Control)
Dear Gurus,
We are using Oracle 10gR2 on Widwos OS. We defined couple of jobs using DBMS_JOBS and i can see them using DBA_JOBS view, how can we view/amend these jobs in Enterprise Manager (Database Control)?
Regards,
RiazRiaz wrote:
Dear Gurus,
We are using Oracle 10gR2 on Widwos OS. We defined couple of jobs using DBMS_JOBS and i can see them using DBA_JOBS view, how can we view/amend these jobs in Enterprise Manager (Database Control)?
Regards,
Riaz
In V10 which is no longer under support DBA_JOBS was superceded by DBMS_SCHEDULER.
Why are you dependent upon EM to manage the DB? -
Oracle 10g:
I have following job:
procedure create_or_replace_job as
begin
begin
dbms_scheduler.drop_job(job_name => merge_job_name);
exception
when others then
/* ignore */
commit;
end;
dbms_scheduler.create_job(job_name => merge_job_name,
job_type => 'STORED_PROCEDURE',
job_action => merge_proc_name,
start_date => to_timestamp('01-Jan-1970 ' || merge_job_time,
'DD-Mon-RRRR HH24:MI:SS'),
repeat_interval => 'FREQ = DAILY; INTERVAL = 1');
commit;
end;
But I want to see when job ran and if there were any errors.I am looking at how long it took for "GATHER_STATS_JOB" to run also when it started and when it ended. But none of the views that I queried give me that detail. I tried:
select * from dba_scheduler_job_run_details where job_name = 'GATHER_STATS_JOB' order by log_id desc
LOG_ID LOG_DATE OWNER JOB_NAME JOB_SUBNAME STATUS ERROR# REQ_START_DATE ACTUAL_START_DATE RUN_DURATION INSTANCE_ID SESSION_ID SLAVE_PID CPU_USED ADDITIONAL_INFO
1741 SYS GATHER_STATS_JOB <NULL> SUCCEEDED 0 <NULL> 1 2316,20537 25785 <NULL>
select * from dba_scheduler_jobs
OWNER JOB_NAME JOB_SUBNAME JOB_CREATOR CLIENT_ID GLOBAL_UID PROGRAM_OWNER PROGRAM_NAME JOB_TYPE JOB_ACTION NUMBER_OF_ARGUMENTS SCHEDULE_OWNER SCHEDULE_NAME SCHEDULE_TYPE START_DATE REPEAT_INTERVAL EVENT_QUEUE_OWNER EVENT_QUEUE_NAME EVENT_QUEUE_AGENT EVENT_CONDITION EVENT_RULE END_DATE JOB_CLASS ENABLED AUTO_DROP RESTARTABLE STATE JOB_PRIORITY RUN_COUNT MAX_RUNS FAILURE_COUNT MAX_FAILURES RETRY_COUNT LAST_START_DATE LAST_RUN_DURATION NEXT_RUN_DATE SCHEDULE_LIMIT MAX_RUN_DURATION LOGGING_LEVEL STOP_ON_WINDOW_CLOSE INSTANCE_STICKINESS RAISE_EVENTS SYSTEM JOB_WEIGHT NLS_ENV SOURCE DESTINATION COMMENTS FLAGS
SYS GATHER_STATS_JOB <NULL> SYS <NULL> <NULL> SYS GATHER_STATS_PROG <NULL> <NULL> <NULL> SYS MAINTENANCE_WINDOW_GROUP WINDOW_GROUP <NULL> <NULL> <NULL> <NULL> <NULL> <NULL> <NULL> <NULL> AUTO_TASKS_JOB_CLASS TRUE FALSE TRUE SCHEDULED 3 125 <NULL> 0 <NULL> 0 <NULL> <NULL> <NULL> RUNS TRUE TRUE <NULL> TRUE 1 NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENCY='AMERICA' NLS_NUMERIC_CHARACTERS='.,' NLS_CALENDAR='GREGORIAN' NLS_DATE_FORMAT='DD-MON-RR' NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY' NLS_TIME_FORMAT='HH.MI.SSXFF AM' NLS_TIMESTAMP_FORMAT='DD-MON-RR HH.MI.SSXFF AM' NLS_TIME_TZ_FORMAT='HH.MI.SSXFF AM TZR' NLS_TIMESTAMP_TZ_FORMAT='DD-MON-RR HH.MI.SSXFF AM TZR' NLS_DUAL_CURRENCY='$' NLS_COMP='BINARY' NLS_LENGTH_SEMANTICS='BYTE' NLS_NCHAR_CONV_EXCP='FALSE' <NULL> <NULL> Oracle defined automatic optimizer statistics collection job 21074010
select * from dba_schedular_schedules
OWNER SCHEDULE_NAME SCHEDULE_TYPE START_DATE REPEAT_INTERVAL EVENT_QUEUE_OWNER EVENT_QUEUE_NAME EVENT_QUEUE_AGENT EVENT_CONDITION END_DATE COMMENTS
SYS DAILY_PURGE_SCHEDULE CALENDAR <NULL> freq=daily;byhour=3;byminute=0;bysecond=0 <NULL> <NULL> <NULL> <NULL> <NULL> <NULL> -
How to view the log/output output files in browser through email notification hyperlinks
I am working on an extension in Fusion Applications. The requirement is to send a notification with details of a concurrent program. The notification will have hyperlinks of "out" and "log" files. When the user clicks on the "out" hyperlink, it should open the Output file(that resides in the unix box) of the corresponding concurrent program in the browser. We know that in E-business suite R12 functionality, records should be populated in FND_FILE_TEMP table to view any files from unix box in browser.
Can you please let me know the approach to be taken in Fusion Applications?The format of the start and end timestamp ranges are "MM/dd/yy HH:mm:ss" for example 12/01/09 12:00:00. Give this a try.
Thanks -
Hi Gurus!
I am new to SAP BW. I want to know that if jobs got cancelled and i need to view jobs without knowing which one is cancelled. I know that SM37 is the code. But I don't know which job. Could u explain?Hi,
The place to see it is SM37, ST22, SM21, so in SM37 you give Job = * and
User name = *
and select Cancelled and give date range an dexecute it it will display all Camcelled jobs, select one job and then click on JOB LOG and see the details .
Select Job and click on STEP then select the Program and then in Menu GOTO-->Click on VARIENTS and see the details.
Like that you need to do trouble shoting and find.
Thanks
Reddy -
How to get the job output to be displayed/send in a report?
Dear All,
IHAC that have a couple of jobs which they all work fine and return the desired value, and now the customer wants to take the output of the jobs and place it in one big report?
The jobs created are the daily health checks that the DBAs run. They would like to have all the output from all the jobs consolidated in one report to be sent to them every morning on their emails.
Kindly advise if this is doable.There isn't really a way to redirect a job's output. Unless you try to dig it out of the repository. Trust me it will be a hell of a job to puzzle out the locations and SQL statements to get it.
You might consider trying to migrate your jobs into reports (if possible). Reports can be redirected to e-mail recipients.
Regards
Rob -
How to view syslinux terminal output?
When I boot I can see that some service fails to start, however, it flies by too fast for me to see what it is. Are there any log files or anything to see what service failed?
If I understand correctly, you have a systemd service that is failing in which case you can either have a look in the journal or the output of the following command: systemctl --failed.
-
How to view Captivate 8 output in Windows XP platform ?
I have created an elearning module with Captivate 8, Flash 11, 64-bit version. I have published the file in AICC format and have uploaded it on a server. The problem is the published file could be run from Windows 7 platform and it could not be accessible from a Windows XP platform. Please help!!
Check the Flash Player version on the system then.
http://www.adobe.com/in/software/flash/about/
Sreekanth -
How to get the desire output from sql query
Consider an Order Table: ...
Order Table:
Order Id Item Qty
O1 A1 5
O2 A2 1
O3 A3 3
Please provide SQL which will explode the above data into single unit level records as shown below
Desired Output:
Order Id Order Id Qty
O1 A1 1
O1 A1 1
O1 A1 1
O1 A1 1
O1 A1 1
O2 A2 1
O3 A3 1
O3 A3 1
O3 A3 1How do I ask a question on the forums?
SQL and PL/SQL FAQ -
How to view the sapscript result without directing to Printer
Hi All,
I am new to ABAP. can any one tell me how to view the sapscript output without redirecting to the printer from an abap program.
Help would be appriciated.
Thanks,
himaThere are several ways you can view the output of the SAPscript, without redirecting it to the printer.
1. You can directly view the output using Menu --> Utilities --> Printing Test --> give the default printer as LP01 and click Print Preview button, that should give you the print preview of the SAP Script.
2. You can execute the the driver program, if it is a custom program (Z program) then execute the program, it will give you an option of selecting printer,, give the printer as LP01 and select print preview.
lets say you are trying to view the purchase order "Zmedruck", the driver program for the same can be found using the transaction code NACE. or else you can execute the transaction code ME23N, There you will find a button called "Print Preview" Click that to preview your SAP Script. Menu --> GoTo --> Print Preview.
Similarly you will find options to view your sap script in almost all the standard transactions where you are using your SAP Script.
If you need further information,, give me a mail at [email protected]
if found useful, don't forget to reward points.
Thanks-
Shrikant -
How to view clob data using sql
Hi,
In our database, we have one table that is having one column of CLOB datatype but now i want to view the data using sql select query but it throws error: "Datatype not supported".
Could any one please let me know how to view the clob data using select query.
Oracle DB version : 10.2.0.3
Thanksh5.
use read procedure
PROCEDURE READ (
lobsrc IN BFILE|BLOB|CLOB ,
amount IN OUT BINARY_INTEGER,
offset IN INTEGER,
buffer OUT RAW|VARCHAR2 );
example Updating LOB by Using DBMS_LOB in PL/SQL
DECLARE
lobloc CLOB; -- serves as the LOB locator
text VARCHAR2(32767):='Resigned: 5 August 2000';
amount NUMBER ; -- amount to be written
offset INTEGER; -- where to start writing
BEGIN
SELECT resume INTO lobloc
FROM employees
WHERE employee_id = 405 FOR UPDATE;
offset := DBMS_LOB.GETLENGTH(lobloc) + 2;
amount := length(text);
DBMS_LOB.WRITE (lobloc, amount, offset, text );
text := ' Resigned: 30 September 2000';
SELECT resume INTO lobloc
FROM employees
WHERE employee_id = 170 FOR UPDATE;
amount := length(text);
DBMS_LOB.WRITEAPPEND(lobloc, amount, text);
COMMIT;
END; -
"Save output of a query in Substitute variable"
Hi All,
I am using oracle11g r1 on windows platform. i want to know how can i save the output of a query in a substitute variable so that i can user that variable in other query .i am using this query and i want to store the output in *"&Schema*" variable.
select substr('D:\activities\expLive_vikash',23,instr('D:\activities\expLive_vikash','0')-22) from dual;
Thanks & Regards,
Vikash chauradia(junior DBA)Thanks for replyng..
i am using this in sqlplus prompt . actually i am using a batch file to cange the dump .
DEFINE FILE_NAME=&file_name; -- This will ask the Dump file name as an input.
declare Schema varchar2(20);
begin
select substr('&&file_name',23,instr('&&file_name','0')-22) into Schema from dual; -- this will give the Schema name as an output.
dbms_output.put_line(Schema);
end;
Drop user &&Schema Cascade;--(Now i am facing the problem in this line. I am not getting Schema name to drop)
Can u tell me what's the problem in this Script. -
How to view the purchase order output
Hi all,
how to view the purchase order output in the transaction me23n?
How to obtain the purchase order output form?
Please help..HI,
goto NACE tcode then select the purchase order type and go to output types u cna use standard one NEU and provide the sapcript name and form name default will be there with MEDRUCK and print program.
then in ME23n click on messages there create ur message type NEU and save it
then print the purchase order...
hope u get solved with this
Regards
Syed A
Maybe you are looking for
-
IPod Mini cannot Sync with Windows XP
I have a Dimension 4550 (Dell) running with Windows XP w/SP2. In the past when we purchased our iPod Mini, all things ran well. We had a system crash, and when attempting to load back we noted that iTunes now (ver 7+)requires a 500 Mhz; and ours is a
-
I have no idea how to do this, I'd welcome some support/information on how I can save my iTunes and set it back up again once my laptop has been fdisk'd.. I don't really understand iCloud. That might be the answer! If you can help, please explain in
-
Standalone will not read Word or pdf files
On 10/19/2006 3;28:29 I posted the following message:
-
Google Verification to an iweb/.mac website
I created a great-looking website through iweb. I rented a domanin name through godaddy. I purchased .mac to host the site. It's up and looks great. But now I can't get google to verify the site, which means it won't come up on a google search. Googl
-
Hi, I'm trying to configure the search engine for e-recruitment using TREX 7 (34) and ERP 6. The SSR, index category etc are all set up for document class HR_DOC and document area HR_KW. Using SKPR07 there is a message about a new api, SKPR_INDEXING1