Parameter size
Hi
I just want to know that the Parameters abap/heaplimit,abab/heaparea_total values are given in which bytes, KB,MB or GB ? Please advice...
Reagrds,
Arif.
Unit: Bytes
Default value: 40000000 (40 MB)
Recommended value : 20000000 (20 MB);
Recommended area : 10000000... 50000000 (10 MB... 50 MB)
===
Use Link : http://help.sap.com/saphelp_45b/helpdata/en/02/9626a6538111d1891b0000e8322f96/content.htm
==
Regards
PR
Similar Messages
-
How can I find out if the rollback optimal parameter size has been set ?
What is the command to find out if the rollback optimal parameter size has been set? And what is the command to find out what is the rollback optimal parameter set to?
You can find the OPTIMAL size in v$rollstat.optsize
-
hi,
what is the maximum size for a character parameter. I set a user parameter size to 64000 and compiling works. But when I run the report, it works only for strings having size less than about 32700.
Is it possible to pass a report a CLOB parameter? thanksHi,
i use datapump on a regular manner to transfer a database from one server to another. Normaly not with the intention to change block size or character sets. But i think, that does not matter.
It works perfectly.
I will recommend to use the character set change tool from oracle to check the compatibility of your data with the new character set before you expdp and impdp the data. But if there is no problem reported from csscan you can just go on.
Export the data with the old character set and set on the new db server the new character set via nls_lang and import the data.
Or export the data with nls_lang pointing to the new character set and import it with the same nls_lang parameter. As far a i remember, both ways are equal.
The block size is nothing to be aware of, the impdp will just use what it find :)
hth
Joerg -
Help with Input/Output Parameter Size using OLE DB Provider
I am using the OLE DB Provider for 9i in an Active Server Page to call a stored procedure in a 9i database. I pass have an input/output parameter (adVarChar with adSize=30) in which I pass a two digit number in, and expect to get a character value greater than 2 characters in return. However, when I execute the stored procedure call, it appears the value being returned in the parameter is being truncated to the size of the value I passed in (2 characters). Is there a way I can insure the parameter will return the entire length of the result regardless of the length of the input value?
cmd.Parameters.Add("retstatus", OracleDbType.Varchar2, 200, ParameterDirection.InputOutput); It seems to me that you're trying to use an OracleParameter constructor with parameter name, parameter type, parameter SIZE, and parameter direction. But OracleParameter class does not have any such constructor. Therefore, your test tries to use another constructor incorrectly.
OracleParameter has two constructors with four parameter ...
public OracleParameter(string parameterName, OracleDbType type, object obj, ParameterDirection direction)
public OracleParameter(string parameterName, OracleDbType type, int size, string srcColumn)
... and none of these matches your constructor. One way to solve this problem is to use appropriate constructor or OracleParameter properties. -
Procedure varchar2 parameter size limit? ORA-6502 Numeric or value error
Hi ALL,
I am trying to create out parameters in a Procedure. This procedure will be called by 4 other Procedures.
PROCEDURE create_serv_conf_attn_cc_email
( v_pdf_or_text varchar2,
v_trip_number number ,
v_display_attn_for_allmodes out varchar2,
v_display_cc_for_allmodes out varchar2,
v_multi_email_addresses out varchar2,
v_multi_copy_email_addresses out varchar2
When I call that procedure in another Procedure I am getting following error, which is caused by one of the out parameter being more than 255 characters.
I found that out via dbms_output.put_line(ing) one of the out parameter as I increased its size.
ORA-06502: PL/SQL: numeric or value error
I thought there was no size limit on any parameters passed to a Procedure.
Any one know of this limit of 255 characters on varchar2 Procedure parameters? Is there a work around keeping the same logic?
If not I will have to take those parameters out and resort to some global varchar2s which I do not like.
Thanks,
Suresh BhatI assume one of the variables you have declared is not large enough for it's assignment.
Here's an example.
ME_XE?create or replace procedure test_size(plarge in out varchar2 )
2 is
3 begin
4 plarge := rpad('a', 32000, 'a');
5 end;
6 /
SP2-0804: Procedure created with compilation warnings
Elapsed: 00:00:00.03
ME_XE?
ME_XE?declare
2 my_var varchar2(32767);
3 begin
4 test_size(my_var);
5 dbms_output.put_line(length(my_var));
6 end;
7 /
32000
PL/SQL procedure successfully completed.
--NOTE here how the declared variable is 500 characters, but the procedure will try to assign it over 32,000 characters...no dice
Elapsed: 00:00:00.00
ME_XE?
ME_XE?declare
2 my_var varchar2(500);
3 begin
4 test_size(my_var);
5 dbms_output.put_line(length(my_var));
6 end;
7 /
declare
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "TUBBY.TEST_SIZE", line 4
ORA-06512: at line 4
Elapsed: 00:00:00.04Edited by: Tubby on Oct 22, 2008 12:47 PM -
Procedure Parameter - Size of Varchar2
Hi,
I have a doubt regarding the procedure/Function parameter.
We can pass varchar2 as parameter in Procedure and function. What is it default size since in table it has 4000 bytes but in procedure/function what is it size?
Please advise.
Thanks in advance.I think there is no restriction.
I think it is a best practise that ,instead of passing many arguments in procedure pass an object or record that holds many fields. It is more maintable
Regards... -
I am working on a report which the user can select from a number of text templates from a web form. One of the options is custom text (if the pre-defined ones aren't good enough). This text is passed from the ASP page to Crystal as a parameter, and printed onto the report in the proper place.
However, there seems to be a 255 character limit for a "string" parameter type. Is this a Crystal 8.5 limitation, or something I am stuck with?
I am actually passing 3 parameters to Crystal: clientID, addressType, and bodyText. The clientID and addressType are parameters needed for a stored procedure. The bodyText is ignored on all reports with pre-defined text, and they work just fine.
If I am stuck with the 255 character limit, are there any other ways to get this text into the report? Ideally, I'd like to be able to allow the user up to 2000 characters.
Thanks in advance!OK, I'll look into that. I am quite familiar with arrays, but not sure how to use them in Crystal.
Another problem I am having now: CR8.5 won't let me re-sort the parameter fields. As stated above, The first two are what the SP needs, the last one contains a string. I use the arrows in Field Explorer to move the parameters fields where I want and then save, but the order doesn't "stick". The third parameter moves to the top!
I really wish our sys admin was here to get the help portion of CR installed! -
I have seen a few times an error message on my screen:
NVRAM string is too big
Or something like that. It appears for a few seconds in the upper left corner when the screen has turned grey, after being white, before the apple.
The absolutely biggest string is definitely nvramrc which is about 1500 characters. But it seems to execute as expected. The OF command nv-free says 58, that is 88 characters free space in NVRAM.
So it looks like there is maybe 2k total space. But what is the limit for each parameter?Perhaps a developer might know this from memory and could answer your question quickly.
You may want to read this set of Technical Notes from the Apple developer Web Site, or search that site for more information. Tech notes are not included in "regular" support site searches.
Technical Note TN1061:
Fundamentals of Open Firmware, Part I: The User Interface
Technical Note TN1062:
Fundamentals of Open Firmware, Part II: The Device Tree
Technical Note TN1044:
Fundamentals of Open Firmware, Part III: Understanding PCI Expansion ROM Choices for Mac OS -
Resize-partition PowerShell - using a variable for size
Hello.
I'm trying to user the PowerShell command resize-partition as part of a RunBook task so I need to be able to specify the size as a variable. The -size element requires that you also add on the size type (e.g. kb, mb, gb, tb etc.) but this makes the command
fail as its then passed as a string and it looks like it wants to be a UInt64.
I have tried various different ways such as:
$size = 300 + "gb"
$size = "300" + "gb" etc.
The error I get is:
PS C:\Windows\system32> Resize-Partition -DriveLetter E -Size $Size
Resize-Partition : Cannot process argument transformation on parameter 'Size'. Cannot convert value "300GB" to
type "System.UInt64". Error: "Input string was not in a correct format."
The only way I can get it working is to hardcode it in: '-size (300gb)'
Would anyone have any idea how to get this working? It must be possible.
Thanks, JoeHi,
Just checking in to see if the suggestions were helpful. Please let us know if you would like further assistance.
If you have any feedback on our support, please click
here
Cataleya Li
TechNet Community Support -
Error While Passing Parameter from Form to Report
I am using Dev 9ids. And i am compiling every forms from form 5 to form 9i. and report too.
Most of reports are running.
in some i am getting problem where i do pass more than 5,6 parameters.
for e.g in one case say
set_report_object_property(rep_id,REPORT_OTHER,'comp_code='||:global.vc_comp_code||' inv='||inv||' invoice_no='||inv_no||' invoice_date='||inv_dt||' vc_name='||cust_name||' Paramform=no');
this will not run and give error FRM-41214
when i exclude vc_name or shorten the value of cust_name report run fine.
length of cust_name and in report vc_name is proper.
I also need to pass more parameters to report.
I do think there might be parameter size in any of report system files to be increased.
Pls help me out how to rectify this problem.
thanks in advance.
rajYou are not getting the result in the report because you have chosen the button event as Query.
Edit the form, for the Execute button, choose the button event Custom and use the same pl/sql code that you have used before.
If the event is Query, then the session object does not have value of A_EMPNO at the point where you have written your code. The session object is populated after the Query event has taken place. -
Passing the same input parameter twise in execute sql task
Hi All, I want to insert some values to 3 different tables in sql server. Execute sql task is used to populate three tables. Here is the sql statement.
DECLARE @Dt AS DATE
SET @Dt = ?
INSERT INTO TABLE1 SELECT ?, COL2, COL3 FROM TABLE_A
INSERT INTO TABLE2 SELECT ?, COL2, COL3 FROM TABLE_B
Input parameter is mapped as follows :
Variable name : User::EffectiveDate
Direction : Input Data Type :
Date Parameter name :0
Parameter size :-1
User::EffectiveDate is datetime variable.
When the package is executed, it throws an error.
[Execute SQL Task] Error: Executing the query " " failed with the following error: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". Possible failure reasons: Problems
with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. I am not sure what I am doing wrong here. If anyone could point me to the right direction, I really appreciate.
Thanks
shamenTo expand on the other answers.
Your SQL command
DECLARE @Dt AS DATE
SET @Dt = ?
INSERT INTO TABLE1 SELECT ?, COL2, COL3 FROM TABLE_A
INSERT INTO TABLE2 SELECT ?, COL2, COL3 FROM TABLE_B
It using 3 input variables. I assume you didn't pass 3 variables and you want @DT to be column 1 in each. In that case you would use:
DECLARE @Dt AS DATE
SET @Dt = ?
INSERT INTO TABLE1 SELECT @Dt, COL2, COL3 FROM TABLE_A
INSERT INTO TABLE2 SELECT @Dt, COL2, COL3 FROM TABLE_B -
SQL Server 2008 Execute SQL Task parameter problem
hi, guys
i create a very simply package which only Execute SQL task, set the properties as:
the testing table structure:
create table t(
idx int,
cname varchar(60)
Execute SQL Task setting:
[genaral]
ResultSet: None
ConnectionType: Ado.net
connection:LocalHost.APR11.sa1
SQLsourceType:Direct input
SQLStatement:delete from t where idx=?
[parameter mapping]
variable name: user::idx
direction: input
data type: Int32
parameter name:NewParameterName
parameter size:-1
i hardcode the idx=1, but get error:
SSIS package "test.dtsx" starting.
Error: 0xC002F210 at Execute SQL Task, Execute SQL Task: Executing the query "delete from t where idx=?" failed with the following error: "Parameter name is unrecognized.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
Task failed: Execute SQL Task
SSIS package "test.dtsx" finished: Success.
help me please.
Regards.Hello,
Here you go
http://decipherinfosys.wordpress.com/2008/03/26/running-parameterized-sql-commands-using-the-execute-sql-task-i/
http://technet.microsoft.com/en-us/library/ms140355.aspx
if you use ADO.NET then the way Execute SQL task take parameter is different then "?".... you have to use @paramter.. Please check the above link
Thanks
http://sqlage.blogspot.com/ -
I've recently started seeing messages like this on my firewall (separating my internal mail server from my DMZ antispam device). I'm not sure if this is tied in to any firewall IOS upgrades I've recently completed (recently went from 8.2.x to 8.3.1 to 8.4.1).
In between these messages, I see plenty of traffic on port 25 and mail is being received/delivered. I can't say for sure *all* mail is being received/delivered and there does seem to be a longer delay on messages in the mailserver queue.
%ASA-7-108006: Detected ESMTP size violation from inside:192.168.4.22/11142 to dmz:192.168.2.77/25; declared size is: 3997, actual size is 4256
%ASA-7-108006: Detected ESMTP size violation from dmz:192.168.2.77/60462 to inside:192.168.4.21/25; declared size is: 19681, actual size is 19708
%ASA-7-108006: Detected ESMTP size violation from dmz:192.168.2.77/45901 to inside:192.168.4.21/25; declared size is: 9214, actual size is 9216
I'm not sure if the ASA is just complaining, or actually dropping these packets - how can I find out more information on what the firewall is actually doing and what can I do to remedy this error?
Thanks,
GregYou can remove this log message with option mask in custom policy for esmtp:
match ehlo-reply-parameter size
mask
Full custom policy like this:
policy-map type inspect esmtp custom-smtp
parameters
no mask-banner
no mail-relay
no special-character
allow-tls
match cmd line length gt 512
drop-connection log
match cmd RCPT count gt 100
drop-connection log
match body line length gt 998
log
match header line length gt 998
drop-connection log
match sender-address length gt 320
drop-connection log
match MIME filename length gt 255
drop-connection log
match ehlo-reply-parameter size
mask -
Regd: Screen Buffer size increase
Dear Sir/madam,
We check in ST02. the screen Buffer - SWAPS are More.
we want to increase the "SCREEN" Buffer size so the Screen Swaps comes down.
Screen buffer
zcsa/presentation_buffer_area 4400000 Byte Size of screen buffer
sap/bufdir_entries 2000 Max. number of buffered screens
Which parameter size i have to Increase here 2 Parameters are available. How much we can increase it.
here RAM size is 4GB. Any Formula is available to Increase the Buffer size of the Screen. or other like Program Buffer etc.
Regards
SNB.Thanks for your Reply.
Buffer Hitratio Allocated Free space Dir. size Free directory Swaps Database
[%] [kB] [kB] [%] Entries Entries [%] accesses
Screen 96.99 4,297 141 3.44 2,000 1,722 86.10 1,506 4,525
if we want to increase we have to increase for both the parameters.
zcsa/presentation_buffer_area 4400000 + 440000 = 4840000 (10%)
sap/bufdir_entries 2000 + 200 = 2200 (10%)
What is the difference between thest 2 parameters.
1) zcsa/presentation_buffer_area
2) sap/bufdir_entries
Do you have any Formula to Handle ST02 Buffer Size Parameter Maintanence.
Regards
SNB. -
BW Web Report Issue - Result set too large
Hi,
When I execute a BEx Query on Web I am getting “Result set too large ; data retrieval restricted by configuration (maximum = 500000 cells)”.
Following to my search in SDN I understood we can remove this restriction either across the BW system globally or for a specific query at WAD template.
In my 7x Web template I am trying to increase default max no of rows parameters, As per the below inputs from SAP Note: 1127156.
But I can’t find parameter “Size Restriction for Result Sets” for any of the web items (Analysis/Web Template properties/Data Provider properties)….in the WAD Web template
Please advise where/how can I locate the properites
Instructions provided in SAP Note…
The following steps describe how to change the "safety belt" for Query Views:
1. Use the context menu Properties / Data Provider in a BEx Web Application to maintain the "safety belt" for a Query View.
2. Choose the register "Size Restriction for Result Sets".
3. Choose an entry from the dropdown box to specify the maximum number of cells for the result set.
The following values are available:
o Maximum Number
o Default Number
o Custom-Defined Number
Behind "Maximum Number" and "Default Number" you can find the current numbers defined in the customizing table RSADMIN (see below).
4. Save the Query View and use it in another Web Template.
Thanks in advanceHi Yasemin,
Thanks for all help...i was off couple of days.
To activate it I can suggest to create a dummy template, add your query in it, add a menu bar component add an action to save the query view. Then you run the template and change the size restriction for result set then you can save it by the menu.
Can you please elaborate on the solution provided,I created dummy template with analysis and Menu bar item...i couldn't able to configure menu bar item...
Thanks in advance
Maybe you are looking for
-
Multi User Skype was great until the latest software upgrade, which in my opinion was actually a downgrade. It is now awful - it keeps on dropping out - then users can't connect. It is totally unreliable. Very dissappointing. [Removed for privacy]
-
Since updating to 10.5.5 my G5 will crash whenever trying to view videos in iTunes or .mpgs online. Is this a known problem?
-
Hi, I am using URLConnection to connect to an URL. My applications works with local URLs, (localhost/Test.asp), but when a i try to connect with a external URL (www.mysite.com), not works, got this error: java.lang.RuntimeException: java.security.Acc
-
My headphones only work if I use the front port, however I want to talk and listen through my headphones and it's not letting me do this
-
Hi, We are analyzing the performance in XI 3.0 and we have several questions about this subject. 1. In presentation layer, is it advisable to use XI 3.0 between a front-end and a back-end? We get a bad performance and irregular runtimes when we run t