Follow up to arcsines and J2ME(saving the table)
ok, I've got a table I can only generate on my PC, but I need to somehow package it with a midlet, and have the midlet open it. Midlet's don't support serialization, only persistance(which can only be saved and read on the phone), or any direct file handling class. I'd like a way to do this without having to use the internet connection.
Use DataOutputStream on the desktop and DataInputStream (around a resource from the class' jar, probably) in the midlet.
Similar Messages
-
I accidentally deleted the wrong pages from a pdf and then saved the new document. How do I recover the previous document. Using Adobe Acrobat Pro and Mavericks.
ThanksHopefully you have a back-up copy of the file somewhere, because you don't
have many other options... -
How to re-read a spool, modify it and re-saving the spool.
Hi Experts,
Can any tell me how to re-read a spool out of spool system, modifying the output and re-saving the spool.
I need to replace the total no. of pages count on every page of the spool. It is the list format.
Thanks in Advance.
Govind Parmar.Hi
Do u want tot retrieve the data of spool?? If so then check it out
Read Temse data from UNIX filesystem and display. You must reconstruct the relationship between Temse tables and the spool files (tables TST01 and TSP01) for this to work. Dname, Rqident, Dsize are the important fields. This was used to retreive deleted spool output pertaining to an important project. Spool cleanup job RSPO0041 deleted the spool files regardless of the Delete after date
<u><b>
Procedure :</b>
</u>
Restore the spool files (assuming you employ spool_method G and also backup /sapmnt/SID/global/xxxSPOOL directory) in a temp. directory and rename them to numbers which will not overwrite the existing max(dname) in TST01.
Using ABAP or SQL copy in the same table, a row from both TST01 and TSP01 and update TST01:Dname (spool name), TST01:Dsize (size of the spool file in bytes) and TSP01:Rqident (spool number)
REPORT ZREADSP.
PARAMETERS: ZNAME(6).
DATA: HAND4(28) TYPE X,
LN TYPE I,
LN2 LIKE RSTSTYPE-LINELENGTH,
BUFFER(132),
RSTSRC(6),
ERRMSG(50),
HIDE_CLIENT LIKE TST01-DCLIENT VALUE '200',
HIDE_NAME LIKE TST01-DNAME ,
HIDE_PART LIKE TST01-DPART VALUE '1',
FULL_NAME(40).
DATA:BEGIN OF BUFTAB OCCURS 1002,
TXT(8000),
END OF BUFTAB.
CONCATENATE 'SPOOL' ZNAME INTO HIDE_NAME.
CALL 'C_RSTS_OPEN_READ' ID 'HANDLE' FIELD HAND4
ID 'CLIENT' FIELD HIDE_CLIENT
ID 'NAME' FIELD HIDE_NAME
ID 'PART' FIELD HIDE_PART
ID 'RC' FIELD RSTSRC
ID 'ERRMSG' FIELD ERRMSG.
CALL 'C_RSTS_READ' ID 'HANDLE' FIELD HAND4
ID 'BUFTAB' FIELD BUFTAB-*SYS*
ID 'MAXIX' FIELD 10000
ID 'RC' FIELD RSTSRC
ID 'ERRMSG' FIELD ERRMSG.
CALL FUNCTION 'RSPO_SPOOLDATA_WRITE_INIT'.
LOOP AT BUFTAB.
LN = STRLEN( BUFTAB-TXT ).
IF LN > 0.
LN2 = LN.
CALL FUNCTION 'RSPO_SPOOLDATA_WRITE'
EXPORTING
SPOOL_DATA = BUFTAB-TXT
DATA_LENGTH = LN2
EXCEPTIONS
DATA_TOO_SHORT = 1
OTHERS = 2.
ELSE.
SKIP.
ENDIF.
ENDLOOP.
<u></u>
Regards
Pavan -
How to find block free space and PCTUSED FOR THE TABLE
HI all,
Due to performance issues for my database , my management ask me to reset the PCTUSED and PCTFREE values , and my doubt is
1)How to find the current PCTUSED and PCTFREE values.
2)How to find block free space and PCTUSED FOR THE TABLE.
Please help me out regarding this.
Regards,
Vamsi.1)version is 10.2.0.4
2)output of query
tablespace extent_management allocation_type segment_space_management
SYSTEM LOCAL SYSTEM MANUAL
UNDOTBS1 LOCAL SYSTEM MANUAL
SYSAUX LOCAL SYSTEM AUTO
TEMP LOCAL UNIFORM MANUAL
USERS LOCAL SYSTEM AUTO
UNDOTBS2 LOCAL SYSTEM MANUAL
INS LOCAL SYSTEM AUTO
CONFTBS LOCAL SYSTEM AUTO
REINS LOCAL SYSTEM AUTO
ANALYST LOCAL SYSTEM AUTO
BI LOCAL SYSTEM AUTO
INTRFC LOCAL SYSTEM AUTO
COGNOS LOCAL SYSTEM AUTO
TS_INDX LOCAL SYSTEM AUTO
TS_CHOLAWEB LOCAL SYSTEM AUTO
TS_DASBOARD LOCAL SYSTEM AUTO -
I have this bizarre problem with firefox and Amazon (com and co.uk)
If I click a link (open in new tab) to an amazon page the page opens in a new tab. Fine.
If I then select that page (click its tab) the page is displayed and then a new amazon page opens in a new tab with the url http://www.amazon.com/?ie=UTF8&*Version*=1&*entries*=0&link_code=hom&tag=skipthemalls-20
If I close the new amazon page and return to the original amazon page the phenomenon does not repeat - not new window opens.
This does not happen in any other browser (IE or Chrome)
This does not happen on any other website.
I've scanned my PC (Malwarebytes and security essentials) and found nothing sinister
All forefox add ons are disabled. To be sure, I've started 'restarted firefox with add ons disabled' and the problem still occurs. I've even reset Firefox to its original state and still the problem occurs.
So now what?
Windows 7 Ultimate
Thinkpad R60 4GBThat page is coded to a particular "affiliate" (skipthemalls) and may have the purpose of setting a cookie to earn a cut of revenue from your purchase. If that is not caused by the site you visited that brought you to Amazon, it's hard to think of a reason for it to open. (Even then, you would think it would be processed transparently in the background.)
More generally, when you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
(1) Bypass Firefox's Cache
Use Ctrl+Shift+r to reload the page fresh from the server.
Alternately, you also can clear Firefox's cache completely using:
orange Firefox button (or Tools menu) > Options > Advanced
On the Network mini-tab > Cached Web Content : "Clear Now"
If you have a large hard drive, this might take a few minutes.
(2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
* right-click and choose View Page Info > Security > "View Cookies"
* Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
In the dialog that opens, you can remove the site's cookies individually.
Then try reloading the page. Does that help? -
I created a Sync account before but uninstalled it without saving the code. But now installed it again and having trouble finding my account code to setup my Sync. Is there a way to retrieve my Sync code without creating another account?
Thanks!Contact iTunes:
Apple - Support - iTunes - Contact Us -
Saving the table content into one excel sheet
Hello,
I have got following problem:
I'm measuring data with a DAQ card. I'm interested in the min and max value of the measured data. Therefore I'm using the Amplitude and Level measurent function. Its no problem to display the results in the graphical interface. What causes me trouble is to save the content of the displayed table into some kind of file. Anybody know a solution?
Thanks!The problem is that I use the descriped min/max function. If I write it to a text file I get a lot of additional information every second.
Following example shows what is written to the measurement file:
Channels 6
Samples 1 1 1 1 1 1
Date 2010/03/05 2010/03/05 2010/03/05 2010/03/05 2010/03/05 2010/03/05
Time 14:26:48.9938435554504394532 14:26:48.9938435554504394532 14:26:48.9938435554504394532 14:26:48.9938435554504394532 14:26:48.9938435554504394532 14:26:48.9938435554504394532
Y_Unit_Label Volts Volts Ampere Ampere Ampere Volts
X_Dimension Time Time Time Time Time Time
X0 0.0000000000000000E+0 0.0000000000000000E+0 0.0000000000000000E+0 0.0000000000000000E+0 0.0000000000000000E+0 0.0000000000000000E+0
Delta_X 0.001000 0.001000 0.001000 0.001000 0.001000 0.001000
***End_of_Header***
X_Value U_1 (Positive Peak) U_2 (Positive Peak) I_3(Positive Peak) I_1 (Positive Peak) I_2 (Positive Peak) U_3(Positive Peak) Comment
0.000000 3.461911 3.189588 0.115779 2.103480 0.739258 1.206654
This kind of information is not displayed if I visualize it in a table. The table only shows me the time and the corresponding min/max values. These values are updated every second.
I tried to write it to a spreadsheet, this approach was also not successful since a new spreadsheet was opened/generated every second respectively every time a new min/max value was aquired.
I would like to safe the data fro, the table to a file without the additionál information showed above in the example.
Thanks! -
How to read the data from excel file and store into the table?
Hi All,
I have table with BLOB datatype contains a excel file. I have to read that data from excel and store into one table with all the fields in excel.
All the excel fields and my table columns are same.
Can you share with me how can acheive this using LOB's?
ThanksHi OraSuirya,
you can try with external tables .
syntax as follows
create table ext_table_csv (
i Number,
n Varchar2(20),
m Varchar2(20)
organization external (
type oracle_loader
default directory ext_dir
access parameters (
records delimited by newline
fields terminated by ','
missing field values are null
location ('file.csv')
reject limit unlimited;
For this you need to create directory
Directory Creation syntax:
create or replace directory ext_dir as 'D:\oracle\user_dir\ext_dir';
grant read, write on directory ext_dir to <User>;
please paste the excel file in the particular directory .
I hope this will help you.
Please correct me if I am wrong anywhere .
Thanks,
Tippu. -
Error while renaming indexes and keys in the tables
hi gems...good afternoon..
i am using oracle 11gr2 database.
when i am trying to rename the primary key, foreign key, indexes of all the tables as per the standard, then the following error is given...
ORA-00604: error occurred at recursive SQL level 1
ORA-01000: maximum open cursors exceeded
ORA-00604: error occurred at recursive SQL level 1
ORA-01000: maximum open cursors exceeded
ORA-01000: maximum open cursors exceeded
currently the maximum open cursors parameter is set to 300.
please help..thanks in advancethanks a lot for your help..
there are total 162 records in the v$open_cursor for that user.
among that the open cursor is only 4 and open-recursive cursor is only 6 for that user.
in my session i am executing only the renaming of the constraints and nothing more.
When i have queried the v$open_cursor for cursor_type='OPEN' for all the users, then i got that it has exceeded the value of open_cursors parameter.
So how can i resolve that.... -
How to compare SSIS Variable and Column In the table!!.
Hi Folks,
My Requirement IS :
1<sup>st</sup>run: if the record does not exist
in the table insert the record (file_name, last_modified_file_date) and create a copy in the archive folder with file_name_currentdate.csv
Daily run:
retrieve the last_modified_file_date from the input file and check if the retrieved date is greater than the last_modified_file_date in the table:
If true:
create a copy of the input file in the archive folder and update the last_modified_file_date in the table with the retrieved date
If false don’t do nothing because the file has been archived in one of the previous runs.
I have already retrieving the modified date and File Nae iserting into Filename Table: (That table has 2 columns which are FileName and FileDate) so In script task everytime the variable getting Modified date(retrieve the last_modified_file_date
from the input file) could yu please give me idea after that how I can Compre the existing table record and variable. I have already
imported the all Filenames and Modified into table like below.
Could you please give your ideas friends.Try this:
1) Execute SQL Task (In the Parameter mapping, pass filename and fileLastModified date retrieved from the file - your SSIS Variable)
2) In the ‘SQL statement’, Write a TSQL like this:
--declare these variables before the use
SET @filename=?
SET @fileLastModifieddate=?
--declare @MaxLastTblDate and @flag=0
select @MaxLastTblDate = Max(last_modified_file_date) from Table T1
If (@fileLastModifieddate>@MaxLastTblDate)
--Do your insert here
--Update the variable with @flag (say 1)
3) Set the value of @flag in the Result set of Execute SQL (another SSIS variable)
4) In the next control flow component, do the file archiving.
5) Between these two components, check the value of the @flag variable in the precedence constraints (whether to copy the file for archiving or not)
Hope this helps. -
Required Column for Credit Card (Coporate and Procurement ) in the table
Can anyone provide a sample credit card format for other banks not supported by Oracle EBS.
And is there any document thats provides the list of madatory column that need to requested from the bank of the table population.
RegardsHi,
Has anyone worked on this format. Please provide me with a sample file. That would e of g8 help..
Regards -
Doubt in inserting Date and time into the table
Hi i have created a table with two columns "Order_ID" and "Order_date" as
create table test
order_id integer,
order_date date default sysdate
Now i insert one row as
insert into test(order_id) values(1);
now i get the output as
ORDER_ID ORDER_DAT
1 05-JUN-12
But i need to insert the current system time also into the Order_date column.
How can i achieve this ???it works OK for me!
bcm@bcm-laptop:~$ sqlplus user2/user2
SQL*Plus: Release 11.2.0.1.0 Production on Mon Jun 4 20:19:57 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
20:19:58 SQL> @test1
20:20:01 SQL> create table test1
20:20:01 2 (
20:20:01 3 order_id integer,
20:20:01 4 order_date date default sysdate
20:20:01 5 );
Table created.
20:20:01 SQL>
20:20:01 SQL> insert into test1(order_id) values(1);
1 row created.
20:20:01 SQL> select * from test1;
ORDER_ID ORDER_DATE
1 2012-06-04 20:20:01
20:20:01 SQL> -
Is it possible to cache and index and not cache the table?
can someone point me to the syntax? I have been messing with it and can't get the cache command on the indexes to work. I dont want to cache the table. Just the index blocks.
i have to joins between tables with denormalized data and join non-unique columns. The indexes I am using have high clustering factors. i have no way of solving this right now.
in performnace tests queries use a lot of physical IO and take a long time to return. If I run them a second time, they still use alot of logical IO, but return quickly. I have enough CPU to handle the logical IO and I need to speed up queries.
I dont have enough memory to cache the tables data involved, but I do have enough to cache the indexes. When I run a 10046 trace virtually all of the work is done in the index searches, so I was hoping to cache the indexes in order to speed up the queries.
again I can't solve the data issues and I am not concerned about the high logical IOs since there is limited concurrency and I have plenty of CPU.
I guess my only other option is to find out which table in the join is would benefit most from caching and cache that table since these are big tables and I can really only cache one of them. -
EXBED and BEDINV in the table J_1IEXCDTL
Hi,
We have one depot plant, so as per std. procedure first we make as per PO first we make the GR then ref. to GR number RG23D register updation with J1IG transaction ref. to GR number and all the bed amount, ECS and SECESS with amount and % enter manually, some time the the amount are posted in the field EXBED and some time in the field BEDINV, in the table J_1IEXCDTL what is difference between those two fields is there any eefect of this. Is this releated to tax code in the PO
regards,
zafarHi,
EXBED will be populated when the receing plant is a n excisable plant whereas BEDINV will be populated when it is a nonexisable plant , accordin to my understanding.
Edited by: Akhilpuri on Sep 19, 2011 8:19 AM -
How to make text in the cell center(upper and down) of the table
As attached, the text in the column head of the table is near the upper edge.
Is it possible to make the 'abcd' in the center of the cell, thanks.
Attachments:
ss.jpg 6 KBselect the table contents and do the above
Maybe you are looking for
-
How to find what planning sequences/functions update data in a cube?
Hi, Experts: We have a real time cube being updated by planning sequences/functions. How can I find what planning sequences/functions are updating this cube? Thanks, Jenny
-
Why cannot I copy selected text from a pdf file opened in Adobe Reader XI?
Hi all, I had a problem when I tried to copy some selected text on a pdf file([Linux.System.Programming(2nd,2013.5)].Robert.Love.文字版.pdf) , which was opened in Adobe Reader XI as below (non-English version): The error's text could be primarily transl
-
Hi ABAP Gurus, I'm a MM guy.I'm getting error while doing LSMW. The error is No target structures could be found with this message no Message no. /SAPDMC/LSMW_OBJ_030001 Thanks & Regards PKB
-
Need help in the code for updating a record ( conditional update)
all set Edited by: 871431 on Jul 9, 2011 6:30 PM
-
Proboem migrating ora 8i to 9i - URGENT!!
hi folks. I have a box thata has iis and ora 8i installed. I had to migrate oracle to 9i version DB, so I started 9i installation. It was everything fine when, during the installation, asp pages crashed with following error: ORA-01041: internal error