How to select on an ODS with index to consume less internal memory?
Hi all,
I want to load an ODS B from ODS A with an enhanced communication structure. The enhanced fields are populated through look up on a third ODS C based on joining condition with certain fields of the data_package (structure of ODS A).
The entire code is written in the start routine from A to B and the look up on C is done by a <b>select statement on C for all entries in data_package ...etc</b>. However this ODS C has huge data and when we are loading the data from A to B and hitting this select in start routine it is giving us a short dump due to shortage of extendable memory space.
To solve this problem we had built an index on ODS C with the fields used in where clause of the select statement but the problem persists. Can anybody tell me how can we take the benefit of the index so created in the select statement on ODS C in start routine ? Because it is the internal memory and not the query size that is giving the trouble is there any way to partition ODS C and use select on the partitions separately? Should an internal table of type ODS C be declared as sorted table with unique key instead of standard table ?
FYI, the index fields we have added in ODS maintenance screen are checked for unique.
I guess the short dump you are encountering is due to the size of the internal table you are filling up from ODS C not the index. Check the where clause on the select statement. You can reduce the data package size. Try using selections on the infopackages from A to B to limit the data... you can try other options to split the data into multiple (serial sessions) based on the business rules & logic in place at your implementation.
Default installation has a limitation of 2GB on the size of internal sessions considering signed 32bit variable on 32 bit o/s systems. Now that most of the unix based systems are 64bit and with unsigned 32bit variables you can use 4GB or more.
Check the note 548845 for more info
Gopal
Pls assign points if you find the response helpful !
Similar Messages
-
How to select the data from a Maintainance View into an internal table
Hi All,
Can anybody tell me how to select the data from a Maintainance View into an internal table.
Thanks,
srinivas.HI,
You can not retrieve data from A mentenance view.
For detail check this link,
http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
Regards,
Anirban -
How to select rows which starts with
In the below example I want only the rows which starts with the word CERTIFICATE.
How do we do?
create table full_text(text clob);
insert all
into full_text values('CERTIFICATE OF SERVICE')
into full_text values('APPLICATION FOR CERTIFICATE')
into full_text values('CERTIFICATE OF LIABILITY')
into full_text values('CERTIFICATE OF TITLE')
SELECT * FROM DUAL ;
COMMIT;
CREATE INDEX CTX_INDX_TEXT ON full_text (TEXT) INDEXTYPE IS CTXSYS.CONTEXT;
SQL> select * from full_text where contains(text,'$CERTIFICATE')>0 ;
TEXT
CERTIFICATE OF TITLE
CERTIFICATE OF LIABILITY
APPLICATION FOR CERTIFICATE
CERTIFICATE OF SERVICE
The 3rd row show not appear.
ThanksI understand what Roger is saying. Since it is past his bedtime there in the UK and still sunny here in California, here is an example for you:
SCOTT@orcl_11g> create table full_text(text clob)
2 /
Table created.
SCOTT@orcl_11g> insert all
2 into full_text values('CERTIFICATE OF SERVICE')
3 into full_text values('APPLICATION FOR CERTIFICATE')
4 into full_text values('CERTIFICATE OF LIABILITY')
5 into full_text values('CERTIFICATE OF TITLE')
6 SELECT * FROM DUAL
7 /
4 rows created.
SCOTT@orcl_11g> CREATE OR REPLACE PROCEDURE your_proc
2 (p_rowid IN ROWID,
3 p_clob IN OUT NOCOPY CLOB)
4 AS
5 BEGIN
6 FOR r IN
7 (SELECT text
8 FROM full_text
9 WHERE ROWID = p_rowid)
10 LOOP
11 DBMS_LOB.WRITEAPPEND (p_clob, 8, 'XXSTART ');
12 DBMS_LOB.APPEND (p_clob, r.text);
13 DBMS_LOB.WRITEAPPEND (p_clob, 6, ' XXEND');
14 END LOOP;
15 END your_proc;
16 /
Procedure created.
SCOTT@orcl_11g> SHOW ERRORS
No errors.
SCOTT@orcl_11g> BEGIN
2 CTX_DDL.CREATE_PREFERENCE ('your_datastore', 'USER_DATASTORE');
3 CTX_DDL.SET_ATTRIBUTE ('your_datastore', 'PROCEDURE', 'your_proc');
4 CTX_DDL.SET_ATTRIBUTE ('your_datastore', 'OUTPUT_TYPE', 'CLOB');
5 END;
6 /
PL/SQL procedure successfully completed.
SCOTT@orcl_11g> CREATE INDEX CTX_INDX_TEXT ON full_text (TEXT) INDEXTYPE IS CTXSYS.CONTEXT
2 PARAMETERS ('DATASTORE your_datastore')
3 /
Index created.
SCOTT@orcl_11g> select * from full_text where contains(text,'XXSTART $CERTIFICATE')>0
2 /
TEXT
CERTIFICATE OF SERVICE
CERTIFICATE OF LIABILITY
CERTIFICATE OF TITLE
SCOTT@orcl_11g> -
How to select a random row with for update?
Hi,
I have a package that needs to assign a random, reusable number (ID) that is not currently being used - to a procedure.
I'm trying to simulate a pool of numbers (IDs) using a table that has an ID and IS_USED columns.
How do I do:
select a random ID (random row)
from pool_table
where IS_USED is 0 (not taken)
FOR UPDATEThe for update is to lock the row from being taken by another process calling the package.
OR:
Can I simulate a pool of numbers with a different object (not a table)?
I need the numbers to be coherent between sessions (thus package variables will not work) and only one session uses the same ID at any given time. When it finishes the number becomes available for further runs.
Thanks.
Edited by: Pyrocks on Nov 7, 2010 10:45 AMThis works on Oracle 11g (probably on 10g too, but I haven't tested):
CREATE OR REPLACE PACKAGE REUSABLE_RANDOM_NUMBERS
IS
FUNCTION GET_NUMBER RETURN NUMBER;
END REUSABLE_RANDOM_NUMBERS;
create or replace
PACKAGE BODY REUSABLE_RANDOM_NUMBERS
IS
TYPE NUM_TABLE_TYPE IS TABLE OF CHAR INDEX BY PLS_INTEGER;
MIN_VALUE CONSTANT PLS_INTEGER := 0;
max_value CONSTANT PLS_INTEGER := 10;
NUM_TABLE NUM_TABLE_TYPE;
FUNCTION GET_NUMBER RETURN NUMBER
IS
num PLS_INTEGER;
BEGIN
FOR I IN 1 .. 100 LOOP
NUM := DBMS_RANDOM.VALUE( min_value, max_value );
IF NOT NUM_TABLE.EXISTS( NUM ) THEN
NUM_TABLE( NUM ) := 'X';
RETURN NUM;
END IF;
END LOOP;
FOR I IN MIN_VALUE .. MAX_VALUE LOOP
IF NOT NUM_TABLE.EXISTS( i ) THEN
NUM_TABLE( i ) := 'X';
RETURN i;
END IF;
END LOOP;
RAISE_APPLICATION_ERROR( -20991, 'All possible values have ben used, cannot assign a new one' );
END;
END REUSABLE_RANDOM_NUMBERS;
SELECT REUSABLE_RANDOM_NUMBERS.GET_NUMBER
FROM DUAL
connect by level <= 11;
GET_NUMBER
3
4
6
2
1
7
8
0
9
5
10
11 rows selected
SELECT REUSABLE_RANDOM_NUMBERS.GET_NUMBER
FROM DUAL;
Error starting at line 44 in command:
SELECT REUSABLE_RANDOM_NUMBERS.GET_NUMBER
FROM DUAL
Error report:
SQL Error: ORA-20991: All possible values have ben used, cannot assign a new one
ORA-06512: przy "TEST.REUSABLE_RANDOM_NUMBERS", linia 26 -
Dear Expert,
I have one table called Tab1 & have a lot columns. For this schenario, i mentioned few of the columns.
The columns are
product_type varchar2(100),
curr_date date (storing with time stamp),
other1_cloumn varchar2(10),
other2_cloumn varchar2(10)
Now I want to display all the records in ascending order except most recent record for every product_type || Union all || Most recent records in ascending order in single query.
For example...
product_type curr_date date other1_cloumn other2_cloumn
1, "10-May-2005 10:10:10", 10, 10
1, "10-May-2005 10:10:11", 10, 10
1, "10-May-2005 10:10:12", 10, 10
1, "10-May-2005 10:10:09", 10, 10
2, "10-May-2005 10:10:10", 10, 10
2, "10-May-2005 10:10:11", 10, 10
2, "10-May-2005 10:10:12", 10, 10
2, "10-May-2005 10:10:09", 10, 10
3, "10-May-2005 10:10:10", 10, 10
3, "10-May-2005 10:10:11", 10, 10
3, "10-May-2005 10:10:12", 10, 10
3, "10-May-2005 10:10:09", 10, 10
Now I want to display (OUTPUT) like...
1, "10-May-2005 10:10:10", 10, 10
1, "10-May-2005 10:10:11", 10, 10
1, "10-May-2005 10:10:09", 10, 10
2, "10-May-2005 10:10:10", 10, 10
2, "10-May-2005 10:10:11", 10, 10
2, "10-May-2005 10:10:09", 10, 10
3, "10-May-2005 10:10:10", 10, 10
3, "10-May-2005 10:10:11", 10, 10
3, "10-May-2005 10:10:09", 10, 10
1, "10-May-2005 10:10:12", 10, 10
2, "10-May-2005 10:10:12", 10, 10
3, "10-May-2005 10:10:12", 10, 10
Plz, provide a solution....I want to display like...
select * from tab1 where (product_type,curr_date) in
(select product_type,max(curr_date) from tab1 group by product_type)
order by product_type
Union All
(select * from tab1 where (product_type,curr_date) NOT IN
(select product_type,max(curr_date) from tab1 group by product_type)
order by product_type)
But, In the above case, The ORDER BY Clause will not work...How to get this one...?
I mean.. I want to display all the records in ascending order except Most recent record base on Product type and next I want to display Most recent record in ascending order. I want to display both cases in a single query...? -
How to select number field starting with 99
Hi Freinds-
I have to pick values for a number field but i want only those values which starting with 99
how i can put code in select query for this ?
Regards
Meeta & RubyHi,
Use the query as:-
select
<field1>
<field2>
from <database_table>
into table <internal_table>
where
<field_name> like '99%'.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir -
How to get a form entry with index ?
Guys:
I have a form and I submit data through this form. Upon clicking a submit button, I want to get the data that a user entered. Please review the following ColdFusion code to see what I mean:
for (i = 1; i LTE ArrayLen(cateNodes); i++) {
itemNodes = cateNodes[i].item;
for (j = 1; j LTE ArrayLen(itemNodes); j++) {
if (IsDefined("FORM.submit_#i##j#")) {
item = "FORM.item_" & i & j & "_sm";
writeoutput(#item#);
This form has multiple submit buttons. Suppose that the "submit_ij" button is clicked, I want to be able to get the value that a user entered for item_ij_sm. For example, I want to get the value entered for
#FORM.item_21_sm#
Instead displaying the value that the user entered for item_21_sm, it displayed FORM.item_21_sm. And, I can see why it did that. It's because FORM.item_21_sm is a string. It would have been very easy without the indecies.
I'm a ColdFusion newbie. Any recommendation is appreciated ! Thanks a lot !Guys: I would like to thank for your recommendation using HTML selection instead of multiple submit buttons and I will seriously consider this. However, this is not the point of my question. The point is that, for example, how do I get user's input for
#FORM.item_21_sm#
The difficult thing here is how to insert the two indeces i and j into item_. If you spend your time and follow my example, you'll see that it does not work. It does not display the value entered by the user for item_21. Instead, it displays FORM.item_21_sm. It would have been extremely easy without the indecies i and j because #FORM.item# works as expected. So, the question here is that, if I have multiple items and if I don't use HTML selection/option, how can this be handled in ColdFusion ? Please see my original post for details. Thanks so much. -
How to select value from list with multiple selections ?
HI,
i have a list with multiple selections where i show email address retrieved from database.
what i want to do is to send the selected email address to the invoiceedit.jsp.
please look at the following code which gives you the better idea.
<td class='smalltext'><select name="email" size="3" multiple="multiple">
<%
Connection conn = null;
Statement stmt = null;
Statement stmt_contactperson = null;
Statement stmt_address = null;
try{
conn = getREConnection();
stmt = conn.createStatement();
ResultSet rs = null;
rs = stmt.executeQuery("SELECT PROPERTYID, VALUE FROM PROPERTIES WHERE ENTITYID="+ g_strGroupID+" AND NAME = 'invoice_default_email'");
int numofrows = 0;
while(rs.next())
%>
<option value="<%= rs.getString("VALUE") %>" selected="selected"> <%= rs.getString("VALUE") %> </option>
<%
}//end of while
%>
</select>
<a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&add=1"><font color="#000000">Add</font></a>
<a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&email_to="><font color="#000000"> Edit</font></a> </td>thanksUse a form button instead of a link so that you can send it as a request parameter to the server. In the server side just use HttpServletRequest#getParameterValues() to obtain all values for the given parameter name. If you really need a link rather than a button, then use Javascript to submit the form on click of the link.
That said, your design is bad. Java code belongs in Java classes, not in JSP files. Database access logic belongs in a DAO class. Business and controlling logic belongs in a Servlet class. Only presentation logic belongs in the JSP file. Avoid scriptlets as much as possible and use JSP EL and/or JSTL instead. -
How to select files to transfer with migration assistant
I am trying to transfer my iphoto library from imac to imac. I am using Snow Leopard 10.6.8 I have used migration assistant to transfer settings, applications etc. but how can I select the files from the old computer to transfer to the new one? The application transferred but not the library. Further to this I would like to transfer other files but there doesn't seem to be a way to select those folders on the old computer. Anyone have an answer? Thanks
I don't have an external drive. How do you select which files to transfer using Migration assistant?
-
How to select a single entry with latest date just LE system date?
Hi all,
Suppose there are 5 entries with first day (ertag) in table prow:
01.05.2005
01.06.2005
01.07.2005
01.08.2005
01.09.2005
Suppose system date (sy-datum) is 25.07.2005, I want a SQL that should select the third entry (01.07.2005).
FYI:
This SQL only selects the first entry:
Select single * from PROW into corresponding fields of ITAB where ERTAG LE SY-DATUM.
Could anyone help ? Thx.another option.
data: first_day type sy-datum ,
periv type T009B-PERIV ,
poper type T009B-Poper ,
year type T009B-BDATJ .
data: iprow type standard table of prow .
move: 'K4' to periv ,
sy-datum+4(2) to poper ,
sy-datum+0(4) to year .
CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = year
* I_MONMIT = 00
i_periv = periv
i_poper = poper
IMPORTING
E_DATE = first_day
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
select * from prow into table iprow where ertag between first_day and sy-datum .
Regards
Raja -
How to send a ttl signal with a good exactitude less than 10ms?
i have a pci 6013 (8 input channel) and pci 6711 (4 outpout channel).Then i need to send a ttl signal to a camera ccd to take a photo when a waveform sinus is equal at zero (rising), but when i send this TTl signal with dasylab using generator pulse or combi trigger and readind this signal, i have difference between dasylab pulse(that is exactly) and measurement pulse that is approximate 40ms after.But i need to have less than 10ms is it possible?
Frequence rate =1000hz and block size=512 the waveform sinus is 0.2Hz.i have already try to increase the sampling rate but nothing happens.Thank for your help.Yes, it's possible.
You just have to reduce your block size to 10 !
For more informations, visit Forum Dasylab en français at http://forum.aceboard.net/?login=128657
Frédéric Miqueau
MD Electronic, France
http://www.mdelectronic.fr
French Dasylab Forum : http://www.dasylab-forum.de/forum/index.php?showforum=43 -
How can I install Windows 7 with Boot Camp from a Usb memory stick?
What exactly do I need to do to the memory stick?
Depends on the game. Most programs have no problem installing on an external drive.
Of course depending on the game, performance may or may not be an issue. A crossword puzzle game will perform better than a real time fast action game running from an external drive.
2.5, 3.5, 5400rpm, 7200rpm, SSD drives come as internal or external drives. The external frives have an enclosure to hold the drives. Otherwise they are the same. You can buy empty enclosures into which you would put your drive, if you have an internal drive you want to use as an external drive. -
How does select stmt with for all entries uses Indexes
Hello all,
I goes through a number of documents but still confused how does select for all entries uses indexes if fields are not in sequences. i got pretty much the same results if i take like two cases on Hr tables HRP1000 and HRP1001(with for all entries based upon hrp1000). Here is the sequence of index fields on hrp1001 (MANDT, OTYPE, OBJID, PLVAR, RSIGN, RELAT, ISTAT, PRIOX, BEGDA, ENDDA, VARYF, SEQNR). in second case objid field is in sequence as in defined Index but i dont see significant increase in field even though the number of records are around 30000. My question is does it make a differrence to use field sequence (same as in table indexes) in comparison to redundant field sequence (not same as defined in table indexes), secondly how we can ge tto know if table index is used in Select for entries query i tried Explain in ST05 but its not clear if it uses any index at all in hrp1001 read.
here is the sample code i use to get test results.
test case 1
REPORT zdemo_perf_select.
DATA: it_hrp1000 TYPE STANDARD TABLE OF hrp1000 WITH HEADER LINE.
DATA: it_hrp1001 TYPE STANDARD TABLE OF hrp1001 WITH HEADER LINE.
DATA: it_hrp1007 TYPE STANDARD TABLE OF hrp1007 WITH HEADER LINE.
DATA: it_pa0000 TYPE STANDARD TABLE OF pa0000 WITH HEADER LINE.
DATA: it_pa0001 TYPE STANDARD TABLE OF pa0001 WITH HEADER LINE.
DATA: it_pa0002 TYPE STANDARD TABLE OF pa0002 WITH HEADER LINE.
DATA: it_pa0105_10 TYPE STANDARD TABLE OF pa0105 WITH HEADER LINE.
DATA: it_pa0105_20 TYPE STANDARD TABLE OF pa0105 WITH HEADER LINE.
DATA: t1 TYPE timestampl,
t2 TYPE timestampl,
t3 TYPE timestampl
SELECT * FROM hrp1000 CLIENT SPECIFIED INTO TABLE it_hrp1000 bypassing buffer
WHERE mandt EQ sy-mandt AND
plvar EQ '01' AND
otype EQ 'S'AND
istat EQ '1' AND
begda <= sy-datum AND
endda >= sy-datum AND
langu EQ 'EN'.
GET TIME STAMP FIELD t1.
SELECT * FROM hrp1001 CLIENT SPECIFIED INTO TABLE it_hrp1001 bypassing buffer
FOR ALL ENTRIES IN it_hrp1000
WHERE mandt EQ sy-mandt AND
otype EQ 'S' AND
* objid EQ it_hrp1000-objid and
plvar EQ '01' AND
rsign EQ 'B' AND
relat EQ '007' AND
istat EQ '1' AND
begda LT sy-datum AND
endda GT sy-datum and
sclas EQ 'C' and
objid EQ it_hrp1000-objid.
* %_hints mssqlnt 'INDEX(HRP1001~0)'.
*delete it_hrp1001 where sclas ne 'C'.
GET TIME STAMP FIELD t2.
t3 = t1 - t2.
WRITE: 'Time taken - ', t3.
test case 2
REPORT zdemo_perf_select.
DATA: it_hrp1000 TYPE STANDARD TABLE OF hrp1000 WITH HEADER LINE.
DATA: it_hrp1001 TYPE STANDARD TABLE OF hrp1001 WITH HEADER LINE.
DATA: it_hrp1007 TYPE STANDARD TABLE OF hrp1007 WITH HEADER LINE.
DATA: it_pa0000 TYPE STANDARD TABLE OF pa0000 WITH HEADER LINE.
DATA: it_pa0001 TYPE STANDARD TABLE OF pa0001 WITH HEADER LINE.
DATA: it_pa0002 TYPE STANDARD TABLE OF pa0002 WITH HEADER LINE.
DATA: it_pa0105_10 TYPE STANDARD TABLE OF pa0105 WITH HEADER LINE.
DATA: it_pa0105_20 TYPE STANDARD TABLE OF pa0105 WITH HEADER LINE.
DATA: t1 TYPE timestampl,
t2 TYPE timestampl,
t3 TYPE timestampl
SELECT * FROM hrp1000 CLIENT SPECIFIED INTO TABLE it_hrp1000 bypassing buffer
WHERE mandt EQ sy-mandt AND
plvar EQ '01' AND
otype EQ 'S'AND
istat EQ '1' AND
begda <= sy-datum AND
endda >= sy-datum AND
langu EQ 'EN'.
GET TIME STAMP FIELD t1.
SELECT * FROM hrp1001 CLIENT SPECIFIED INTO TABLE it_hrp1001 bypassing buffer
FOR ALL ENTRIES IN it_hrp1000
WHERE mandt EQ sy-mandt AND
otype EQ 'S' AND
objid EQ it_hrp1000-objid and
plvar EQ '01' AND
rsign EQ 'B' AND
relat EQ '007' AND
istat EQ '1' AND
begda LT sy-datum AND
endda GT sy-datum and
sclas EQ 'C'." and
* objid EQ it_hrp1000-objid.
* %_hints mssqlnt 'INDEX(HRP1001~0)'.
*delete it_hrp1001 where sclas ne 'C'.
GET TIME STAMP FIELD t2.
t3 = t1 - t2.
WRITE: 'Time taken - ', t3.Mani wrote:
Thank you for your answer, its very helpful but i am still nor sure how does parameter rsdb/max_blocking_factor affect records size.
Hi,
The blocking affects the size of the statement and the memory structures for returning the result.
So if your itab has 500 rows and your blocking is 5, the very same statement will be executed 100 times.
Nothing good or bad about this so far.
Assume, your average result for an inlist 5 statement is 25 records with an average size of 109 bytes.
You average result size will be 2725 byte plus overhead which will nearly perfectly fit into two 1500 byte ethernet frames.
Nothing to do in this case.
Assume your average result for an inlist 5 statement is 7 records with an average size of 67 bytes.
You average result size will be ~ 470 byte plus overhead which will only fill 1/3 of a 1500 byte ethernet frame.
In this case, setting the blocking to 12 ... 15 will give you 66% network transfer performance gain,
and reduces the number of calls to the DB by 50%, giving additional benefit.
Now this is an extreme example. The longer the average row length is, the lower will be the average loss in the network.
You have the same effects in memory structures, but on that layer you are fighting single micro seconds instead of
hundreds of these, so in real life it is rarely measurable.
Depending on table-statistics, oracle might decide for short inlists to use a concatanation instead of an inlist.
This is supposed to be more costy, but I never had a case where I could proove a big difference.
Values from 5 to 15 for blocking seem to be ok for me. If you have special statements in customer coding,
it #might# be benefitial to do the mentioned calculations and do some network tracing to see if you can squeeze your
network efficiency by tuning the blocking.
If you have jumbo frames enabled, it might be worth to be analyzed as well.
If you are only on a DB-CI system that is loopback connected to the DB, I doubt there might be a big outcome.
Hope this helps
Volker -
How to select all the colomns_names from a table, with their datatypes ..
hi :)
i would like to know, how to select in SQL all the columns names from a table with their datatypes so that i get something like this :
Table 1 : table_name
the column ID has the Datatype NUMBER
the column name has the Datatype Varchar2
Table 2 : table_name
the column check has the Datatype NUMBER
the column air has the Datatype Varchar2
and that has to be for all the tables that i own ! ..
P. S : i m trying to do this with java, so it s would be enough if you just tell me how to select all the tables_names with all their colums_names and with all their datatypes ! ..
thank you :)
i ve heard it can be done with USER_TABLES .. but i have no idea how :( ..
Edited by: user8865125 on 17.05.2011 12:22Hi,
The data dictionary view USER_TAB_COLUMNS has one row for every column in every table in your schema. The columns TABLE_NAME, COLUMN_NAME and DATA_TYPE have all the information you need.
Another data dictionary view, USER_TABLES, may be useful, too. It has one row pre table. -
How to select same font and apply auto kerning?
How to select all text frames with same font (for example 'NewCenturySchlbk-Roman') and apply auto kerning?
Thanks.For all opened documents:
for (i = 0; i < app.documents.length; i++) {
var targetDocument = app.documents[i];
activeDocument = targetDocument;
var docRef = app.activeDocument;
for (var w = 0; w < docRef.textFrames.length; w++) {
var textRef = docRef.textFrames[w];
if (textRef.textRange.characterAttributes.textFont == textFonts.getByName('NewCenturySchlbk-Italic')) {
textRef.textRange.characterAttributes.kerningMethod = AutoKernType.AUTO;
redraw();
Maybe you are looking for
-
/etc/pacman.conf question..
This may have been asked before, but I could not find it... <yes, I did use the search on the forums... > I was wondering if the NoUpgrade option in pacman.conf uses shell-like wildcard expansion... Does the following work? NoUpgrade = etc/host* she
-
ITunes not syncing photos to iPad
Hi, Following an iTunes upgrade I was left with iTunes not working on my Windows PC. Following help from another member, I removed all the Apple apps from my PC, deleted the recommended directories and reinstalled iTunes. The software is now workin
-
Scheduling Agreement u2013 Subcontracting
Hi All, I have Issue for following process. 1. I Created Scheduling Agreement with item category L (Subcontracting) for Material Fin001 2. I also created BOM for Fin001and Fin001 BOM component is sem001. 3. When I issuing a material sem001 to subcon
-
KEPM Configuration - Questions
HI, I have to configure KEPM for my Client. They want to plan at product group level and distribute to the product or customer level.As a first step I have to prepare a list of questions to configure KEPM and activate sales and profitability planning
-
When an iPad is connected to the MacBook and the option in iTunes says it will make a full back of the iPad to the computer does that mean ALL the files associated with ALL apps on the iPad? If so where is the backup located on the computer?