Passing "-t" option to link-editor via CC
Hi!
Here is the simple task.
we have some source file which is compiling with simple command:
CC ./some_simple_file.C -lsome_lib -lanother_libCompilation process succed but we have the warning message:
ld: warning: symbol array has differing sizes:
(file /path/libsome_lib.a value=0x4; file /path/libanother_lib.o value=0x8);
/path/libsome_lib.a definition takenWell, apart from this warning - all works fine and the link-editor do matching symbol correctly in this case.
To do not confuse users/parsers/mgrs team - we decided to remove this warning. Ok, here is a quote from sun linker document about "how to remove such warning" in section "Symbols Processing"->"Complex resolution":
+....In both of these cases, the diagnostic can be suppressed by using the link-editor's -t option....+
Thats nice! Lets go with this new option:
CC -t ./some_simple_file.C -lsome_lib -lanother_libWe finally removed warning. But...oops! weve got another one!
CC: Warning: Option -t passed to ld, if ld is invoked, ignored otherwiseQuestion! How we can pass -t option to the link-editor via CC cmd call and without any warnings?
There doesn't seem to be a way to pass -t to the linker without the warning. You could file a request for enhancement via your Oracle support channel, if you have a service contract. Or you could file one at [http://bugs.sun.com]. (I'm not sure if that site is still active.)
The best solution is to fix the problem and eliminate the reason for the warning, by making the declarations consistent. You might suppress warnings that matter if you always use -t.
Similar Messages
-
How do I pass SELECT-OPTIONS to another screen via CALL TRANSACTION?
Good day, everyone!
I am writing a program that will be passing PARAMETERS and SELECT-OPTIONS values to another transaction via the CALL TRANSACTION statement. I'm new at this, and I've run into a problem. I have several fields that are defined as SELECT-OPTIONS, like so:
SELECT-OPTIONS so_ccode FOR fkkop-bukrs.
The user may select multiple values, enter a range, exclude certain values, etc. -- the things a SELECT-OPTIONS allows.
But how do I pass all of this to a field on another screen using CALL TRANSACTION when I only have two fields (BDCDATA-FNAM and BDCDATA-FVAL) available to me? That works fine for PARAMETERS, but I can send low/high values, different signs/options, etc. for the SELECT-OPTIONS variables.
Please help!! Points awarded for all helpful answers.
Thank you,
DaveDon't use CALL TRANSACTION. Use SUBMIT instead.
Rob -
Passing Select-Option to OO method via parameter list
Is it possible to pass a reference to a select-option through the parameter list of a method such that the parameter can be used in a "where clause" using the conventional "IN" operator? If so, how should the parameter be typed?
Thanks in advance,
Philip SmithSure, here's how.
report zrich_0002 no standard page heading.
tables: mara.
* CLASS lcl_app DEFINITION
class lcl_app definition.
public section.
types: t_matnr type range of mara-matnr.
data: imara type table of mara.
methods: constructor importing im_matnr type t_matnr.
endclass.
* CLASS lcl_app IMPLEMENTATION
class lcl_app implementation.
method constructor.
select * into table imara from mara up to 100 rows
where matnr in im_matnr.
check sy-subrc = 0.
endmethod.
endclass.
data: myapp type ref to lcl_app.
select-options: s_matnr for mara-matnr.
start-of-selection.
create object myapp
exporting
im_matnr = s_matnr[].
Welcome to SDN!. Be sure to award points for helpful answers and mark your post as solved when solved completely. Thanks.
REgards,
Rich Heilman -
Passing query template name to BLS SQL action in the link editor
I want to have one transaction that uses the SQL query action, but which query template it uses will be dependent on some user input. I am having trouble passing the query name. I'm using the full file path in xml format (i.e. "c://<folder1>//<folder2>//<folderN>//"&PassedFileName&".xml", but with backslashes instead of forward slashes). I got an error around the connector, so I set that too. Then I got an error around mode, so I set it to "FixedQuery". Now I'm getting, "The Query expression was not set with the Query parameter".
There are only 3-5 possible queries that will be used, so I'd rather build SQL queries and just pass the transaction the name of the query, as opposed to passing the full text of the query each time.
Thanks,
Carrie
Edited by: Carrie Schimizzi on May 9, 2008 6:38 PM
Edited by: Carrie Schimizzi on May 9, 2008 6:39 PM
Edited by: Carrie Schimizzi on May 9, 2008 6:40 PMCarrie,
If you haven't already done so, configure your master BLS transaction with a proper representative runtime variation, which will make the whole process simpler to create and troubleshoot. Quite often when people try to use the dynamic capabilities of MII, they end up getting confused because of user over-complication. In your SQLQuery action block make sure you configure it to a valid template that would be one that the user would provide as an input (don't forget to allow the generation of sample results for making any subsequent trx efforts easier). Then look in the link editor and you should see this string value for the query template link if you hover over the corresponding blue T icon. This will show you the format you need to provide from your Transaction input property (which should also have a valid default value assigned so you can test the transaction by itself, without needing to initially rely on the Xacute Query template layer.
Regards,
Jeremy -
Tag Query error when assigning mode in Link Editor
Hi,
I am receiving the following error when I run a transaction that contains a Tag query. In my transaction I have set the tag query mode to be defined by a local property via the link editor. Then when I execute the transaction I get the following error:
"[ERROR] [TAG_QUERY_WRITE_TAG]com.sap.xmii.Illuminator.logging.LHException: Mode parameter was not found or is malformed"
I am on version 12.1.8 Build(43).
I import the project into MII 12.1.4 Build(53) and the transaction works as expected.
In the new verson of MII is there a bug utilizing the link editor to set mode? Or is there a specific way it wants the mode linked. (e.g. specific case)
Additional details:
I am trying to use the CurrentWrite mode. I have tried setting Current mode via the link editor and that isn't working either.
Any suggestions?
Thanks,
JustinHi Mike,
Please correct me if I understand the logic incorrectly. But here is what I am thinking....
I have configured my transaction to have this flow:
String_List_To_XML_Sequence --> Repeater_TagValues --> TAG_QUERY_WRITE_TAG
The String_List_To_XML_Sequence would contain String_List_To_XML_Parser_TagValues & String_List_To_XML_Parser_TagNames.
With this flow the logic would say that I will be running a seperate tag query for each tag value. So if I have 100 tag values that I want to send, I will run 100 tag queries. This doesn't seem the most efficient. Also if this is how you were thinking I would configure the transaction then I could use the following links:
Target Xpath: TAG_QUERY_WRITE_TAG.TagValue.1
Expression: String_List_To_XML_Parser_TagValues.Output{/Rowsets/Rowset/Row[#Repeater_TagInput.CurrentItem#]/Item}
Target Xpath: TAG_QUERY_WRITE_TAG.TagName.1
Expression: String_List_To_XML_Parser_TagNames.Output{/Rowsets/Rowset/Row[#Repeater_TagInput.CurrentItem#]/Item}
With this configuration updating 10 tags takes 2 seconds:
[INFO] Statistics [Load = 35 ms msec, Parse = 35 ms, Execution = 2015 ms, Total = 2067 ms]
With my old configuration updating 10 tags took 700 ms. (original transaction on 12.1.4 Build (53)
[INFO] Statistics [Load = 11.137 msec, Parse = 224.113 msec, Execution = 451.78 msec, Total = 736.62 msec]
Please let me know if I interpreted your thoughts incorrectly.
If there is a way to utilize only 1 Tag Query, then I am not sure how the transaction flow should be configured.
Thanks for your time,
Justin
Edited by: Justin M Brown on Jul 14, 2011 7:29 PM
Edited by: Justin M Brown on Jul 14, 2011 7:33 PM -
Hi
I have recently upgraded to ODI 11g from ODI 10g.
In ODI 11g when we are clicking on the Link Editor option it is throwing following error.
ODI-20344 Cannot Launch the editor for this expression
sun.awt.X11.XException: Cannot write XdndAware property
We are using JDK1.6 .Please let me know the solution at the earliest.
Thanks!!Thanks!! We have tried your solution ,it is working for first time, when we are trying to edit any other expression i.e second time, it is the trowing the same error.
Edited by: 898955 on Nov 24, 2011 2:16 AM -
Passing selection-options to standard PROG
Hi All,
i want to submit a standard program into zprogram , in standard program there are 3 select-options . i need to pass zselect-options into these 3 select-options in standard program.
if u have any code please pass to me.
please help me.
Many Thanks
Narencheck this
Syntax Diagram
SUBMIT
Basic forms:
1. SUBMIT rep.
2. SUBMIT (name).
Extras:
1. ... LINE-SIZE col
2. ... LINE-COUNT line
3. ... TO SAP-SPOOL List output to the SAP spool database
4. ... USING SELECTION-SCREEN scr
5. ... VIA SELECTION-SCREEN
6. ... AND RETURN
7. ... EXPORTING LIST TO MEMORY
8. ... USER user VIA JOB job NUMBER n
9. ...Various additions for passing parameters to rep
10. ... USING SELECTION-SETS OF PROGRAM prog
Effect
Calls report rep.
The system leaves the active program and starts the new report rep. In basic form 2, you can specify the name of the report in the field name. You must specify the name in uppercase, otherwise a runtime error occurs.
Note
You can only start programs with type '1' using SUBMIT. If the program has a different type, the system triggers a runtime error.
Please consult Data Area and Modularization Unit Organization documentation as well.
Addition 1
... LINE-SIZE col
Effect
The list generated by the report has the line width col.
Addition 2
... LINE-COUNT line
Effect
The list generated by the report has line lines per page.
Addition 4
... USING SELECTION-SCREEN scr
Effect
When you execute the report, the system uses the selection screen number that you specify in the scr field. This must be a selection screen defined using the SELECT-OPTIONS, PARAMETERS and SELECTION-SCREEN statements.If you omit the addition, the system uses the standard selection screen 1000.
This addition allows you to start the same report in different situations, using a different selection screen each time.
Notes
The addition VIA SELECTION SCREEN determines whether the report is processed in the foreground or the background.
What happens if the required screen does not exist or is not a selection screen?
Screen 1000:
If you want to use the standard selection screen (... USING SELECTION-SCREEN 1000 or do not specify a ... USING SELECTION-SCREEN) addition, the system does not process a selection screen.
Other selection screens:
The system triggers a runtime error.
Addition 5
... VIA SELECTION-SCREEN
Effect
The selection screen is displayed. In this case, the selection screen is displayed again after the report list has been displayed. The values entered by the user remain displayed.
Addition 6
... AND RETURN
Effect
Returns to the calling transaction or program after the called program has been executed. SUBMIT ... AND RETURN creates a new internal session.
Addition 7
... EXPORTING LIST TO MEMORY
Effect
Does not display the output list of the called report, but saves it in ABAP memory and leaves the called report immediately. Since the calling program can read the list from memory and process it further, you need to use the addition ... AND RETURN . Also, since the called report cannot be requested for printing, the addition ... TO SAP-SPOOL is not allowed here. In addition, you must not assign a function code to the ENTER key in the current GUI status. The saved list is read from the SAP memory using the function module 'LIST_FROM_MEMORY' and can then be saved to the database using EXPORT, for example. You can process this list further with the function modules 'WRITE_LIST', 'DISPLAY_LIST' ... of the function group "SLST".
Addition 8
... USER user VIA JOB job NUMBER n
Effect
Schedules the specified report in the job specified by the job name job and the job number n. The job runs under the user name user and you can omit the addition USER user. The assignment of the job number occurs via the function module JOB_OPEN (see also the documentation for the function modules JOB_CLOSE and JOB_SUBMIT). This addition can only be used with the addition ...AND RETURN.
Note
When scheduling a report with the SUBMIT ... VIA JOB job NUMBER n statement, you should always use the addition ...TO SAP-SPOOL to pass print and/or archive parameters. Otherwise, default values are used to generate the list and this disturbs operations in a production environment.
SY-SUBRC = 0:
Job scheduled successfully
SY-SUBRC = 4:
Job scheduling terminated by user
SY-SUBRC = 8:
Error in job scheduling (JOB_SUBMIT)
SY-SUBRC = 12:
Error in internal number assignment
Addition 10
... USING SELECTION-SETS OF PROGRAM prog
Effect
Uses variants of the program prog when executing the program rep.
Note
Important
The programs prog and rep must have the same SELECT-OPTIONS and PARAMETERs. Otherwise, variants of the program prog may be destroyed.
Note
When using this addition, the specified variant vari of the program prog is taken in USING SELECTION-SET vari. On the other hand, all variant-related actions on the selection screen of rep (Get, Save as variant, Display, Delete) refer to the variants of prog.
Example
SUBMIT REPORT01
VIA SELECTION-SCREEN
USING SELECTION-SET 'VARIANT1'
USING SELECTION-SETS OF PROGRAM 'REPORT00'
AND RETURN.
Effect
Executes the program REPORT01 with the variant VARIANT1 of the program REPORT00.
Exceptions
Non-Catchable Exceptions
Cause: The specified program was not found.
Runtime Error: LOAD_PROGRAM_NOT_FOUND
Cause: Invalid value passed to a selection with SIGN.
Runtime Error: SUBMIT_WRONG_SIGN
Cause: The specified program is not a report.
Runtime Error: SUBMIT_WRONG_TYPE
Cause: More than one value passed to a report parameter.
Runtime Error: SUBMIT_IMPORT_ONLY_PARAMETER
Cause: Table passed to a selection with WITH sel IN itab that has an unexpected structure.
Runtime Error: SUBMIT_IN_ITAB_ILL_STRUCTURE
Additional help
Starting Executable Programs (Reports)
Regards
Prabhu -
Enhance Req: ADF BC Assoc and Link editor
Hi JDev team
I'd like to raise the following enhancement requests please for JDev 11g TP.
For both the ADF BC Association and Link editor, to view the Relationship you need to click on the Relationship category. Seems to me 9 times out of 10 when you access these objects you want to see the relationship. I'd suggest the Relationship information needs to be under the General category as part of the default view.
Can you raise an enhancement request for this please.
Also, for the Association editor, to view the properties of the association, you need to click on the Relationship category, Accessors editor button, and then in the Association Properties dialog you see the association properties (eg. Implement Cascade Delete etc). This seems unnecessarily hidden too deeply.
Can you raise an enhancement request to promote these options to the editor rather than in this dialog please.
Thanks & regards,
CM.Filed ER for the first one (#6121857)
The 2nd one has already been implemented post-JavaOne Tech Preview. There is a "Behavior" section on the Relationship panel now with those options accessible. -
Hello,
Wanted to get some help/advice regarding the following.
I see that there are generally two link-editors available - /usr/ccs/bin/ld and /usr/ucb/ld
I am guessing that generally the two lds are the same, except that ucb (where applicable) makes use of BSD semantics/routines and provides BSD compatibility, where as ccs is the more standard Solaris link-editor.
I also see that the Solaris Lib and Linkers Guide only makes explicit reference to the ccs link-editor.
What are the pros/cons of using either of these ?
Is the /usr/ccs/bin/ld the Solaris/Sun recommended ld to make use of to link-edit C/C++ code and if so why ?
I do notice that using ucb requires /usr/ucblib/libucb.so.1 to be installed and hence incurs a hard run-time dependency on an optional Solaris package (BCP) and this package is not part of the base Solaris install/run-time and would need to be explicitly installed.
Are there any issues arising from switching from /usr/ucb/ld to /usr/ccs/bin/ld
Thanks very muchakumargolf2000 wrote:
Hello,
Wanted to get some help/advice regarding the following.
I see that there are generally two link-editors available - /usr/ccs/bin/ld and /usr/ucb/ld
I am guessing that generally the two lds are the same, except that ucb (where applicable) makes use of BSD semantics/routines and provides BSD compatibility, where as ccs is the more “standard” Solaris link-editor.
I also see that the Solaris Lib and Linkers Guide only makes explicit reference to the ccs link-editor.
What are the pros/cons of using either of these ?
Is the /usr/ccs/bin/ld the Solaris/Sun recommended ld to make use of to link-edit C/C++ code and if so why ?I guess if you need more or less an official answer, you should try Solaris linker forum, not compiler's forum.
As to why /usr/ccs/bin/ld should be used - this is modern linker, it is patched and enhanced on a regular basis and is used by Sun Studio compilers. Don't know if C++ compiler, for example, will work correctly with linker from ucb/ (or rather the other way around).
akumargolf2000 wrote:
Are there any issues arising from switching from /usr/ucb/ld to /usr/ccs/bin/ld This definitely calls for a linker expert. Please post it to http://www.opensolaris.org/jive/forum.jspa?forumID=63 -
Logical expressions in Link editor
Hi all,
Is it possible to define logical expressions (using AND, OR) in the Link editor of BLS or are we left with only using the Conditional Action block? Thanks...Yes it is.
For AND : <<Condition1>> <b>&&</b> <<Condition2>>
For OR : <<Condition1>> <b>||</b> <<Condition2>>
You can use the <b>double ampersand (&&)</b> for <b>AND</b> and <b>double pipe (||)</b> for <b>OR</b> -
Passing multiple values to another page via a sql report
Having trouble passing multiple values to another page via a popup SQL report
I have two fields one called "descr" and another called "Met"
when I use the code below all works fine and the value of "descr" is passed
Select '<a href="javascript:popUp2('''
|| 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
|| 'P950_TYPE:'
|| descr
|| ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
|| descr
|| '</a>' "Note"
But when I want to pass another value, all goes bonkers and instead of the value of the field being passed the literal text is passed.
can someone look at my code below and see what may be wrong
Select '<a href="javascript:popUp2('''
|| 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
|| 'P950_TYPE,P950_CODE:'
|| descr, Met
|| ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
|| descr
|| '</a>' "Note"
I appeciate your help looking into this
FYI (Here is the entire SQL for reference)
With t
as
(SELECT
CASE WHEN KEY = 2 then
CASE WHEN WCS_CPT > :P940_METRIC_1_WCS_CPT1 then
'<span style="color:Red; ">'||TO_CHAR(WCS_CPT,'FML999G999G999G999G990D00')||'</span>' else
'<span style="color:#399304; ">'||TO_CHAR(WCS_CPT,'FML999G999G999G999G990D00')||'</span>' end
else '<span style="color:#180c8b;">'||TO_CHAR(WCS_CPT,'FML999G999G999G999G990D00')||'</span>' end "WCSCPT",
CASE WHEN KEY = 2 then
CASE WHEN WCS_TOI_PER_FTE < :P940_METRIC_2_WCS_TOI_PER_FTE then
'<span style="color:Red; ">'||TO_CHAR(WCS_TOI_PER_FTE,'999G999G999G999G990')||'</span>' else
'<span style="color:#399304; ">'||TO_CHAR(WCS_TOI_PER_FTE,'999G999G999G999G990')||'</span>' end
else '<span style="color:#180c8b;">'||TO_CHAR(WCS_TOI_PER_FTE,'999G999G999G999G990')||'</span>' end "WCSTOIPERFTE",
CASE WHEN KEY = 2 then
CASE WHEN WCS_SIO_PER_FTE < :P940_METRIC_3_WCS_SIO_PER_FTE then
'<span style="color:Red; ">'||TO_CHAR(WCS_SIO_PER_FTE,'999G999G999G999G990')||'</span>' else
'<span style="color:#399304; ">'||TO_CHAR(WCS_SIO_PER_FTE,'999G999G999G999G990')||'</span>' end
else '<span style="color:#180c8b;">'||TO_CHAR(WCS_SIO_PER_FTE,'999G999G999G999G990')||'</span>' end "WCSSIOPERFTE",
CASE WHEN KEY = 2 then
CASE WHEN WCS_TC_PER_FTE < :P940_METRIC_4_WCS_TC_PER_FTE then
'<span style="color:Red; ">'||TO_CHAR(WCS_TC_PER_FTE,'999G999G999G999G990')||'</span>' else
'<span style="color:#399304; ">'||TO_CHAR(WCS_TC_PER_FTE,'999G999G999G999G990')||'</span>' end
else '<span style="color:#180c8b;">'||TO_CHAR(WCS_TC_PER_FTE,'999G999G999G999G990')||'</span>' end "WCSTCPERFTE",
CASE WHEN KEY = 2 then
CASE WHEN WCS_ADSL_PER_FTE < :P940_METRIC_5_WCS_DSL_PER_FTE then
'<span style="color:Red; ">'||TO_CHAR(WCS_ADSL_PER_FTE,'999G999G999G999G990')||'</span>' else
'<span style="color:#399304; ">'||TO_CHAR(WCS_ADSL_PER_FTE,'999G999G999G999G990')||'</span>' end
else '<span style="color:#180c8b;">'||TO_CHAR(WCS_ADSL_PER_FTE,'999G999G999G999G990')||'</span>' end "WCSADSLPERFTE",
CASE WHEN KEY = 2 THEN
TO_CHAR(MONTH,'MON-YY')
else
'METRICS'
end "MONTH"
FROM (
SELECT DISTINCT
ROW_NUMBER() OVER (ORDER BY KEY DESC) AS ROW_NUM, KEY, WCS_CPT, WCS_TOI_PER_FTE, WCS_SIO_PER_FTE, WCS_TC_PER_FTE, WCS_ADSL_PER_FTE, MONTH
from TW_M_KEYMETRICS
WHERE TO_DATE(UPPER(MONTH),'DD/MON/YY') >= TO_DATE(UPPER(:P940_START_OF_THIS_FIN_YEAR),'DD/MON/YY')
ORDER BY KEY ASC, ROW_NUM, MONTH)
WHERE ROW_NUM <= :P940_MONTHS_SINCE_FIN_START)
Select '<a href="javascript:popUp2('''
|| 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
|| 'P950_METRIC_TYPE,P950_METRIC_VALUE:descr,MET'
|| ''
|| ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
|| descr
|| '</a>' "Note"
, max(Met) METRICS, max(Jul) Jul08, max(Aug) Aug08, max(Sep) Sep08, max(Oct) Oct08, max(Nov) Nov08, max(Dec)Dec08, max(Jan) Jan08, max(Feb) Feb08, max(Mar) Mar08, max(Apr) Apr08, max(May) May08, max(Jun) Jun08
from (
Select 'Cost Per Transaction' descr,
decode (MONTH, 'METRICS', WCSCPT) MET,
decode (MONTH, 'JUL-08', WCSCPT) Jul,
decode (MONTH, 'AUG-08', WCSCPT) Aug,
decode (MONTH, 'SEP-08', WCSCPT) Sep,
decode (MONTH, 'OCT-08', WCSCPT) Oct,
decode (MONTH, 'NOV-08', WCSCPT) Nov,
decode (MONTH, 'DEC-08', WCSCPT) Dec,
decode (MONTH, 'JAN-08', WCSCPT) Jan,
decode (MONTH, 'FEB-08', WCSCPT) Feb,
decode (MONTH, 'MAR-08', WCSCPT) Mar,
decode (MONTH, 'APR-08', WCSCPT) Apr,
decode (MONTH, 'MAY-08', WCSCPT) May,
decode (MONTH, 'JUN-08', WCSCPT) Jun
from t
union all
Select 'Total Orders Issued Per FTE' descr,
decode (MONTH, 'METRICS', WCSTOIPERFTE) MET,
decode (MONTH, 'JUL-08', WCSTOIPERFTE) Jul,
decode (MONTH, 'AUG-08', WCSTOIPERFTE) Aug,
decode (MONTH, 'SEP-08', WCSTOIPERFTE) Sep,
decode (MONTH, 'OCT-08', WCSTOIPERFTE) Oct,
decode (MONTH, 'NOV-08', WCSTOIPERFTE) Nov,
decode (MONTH, 'DEC-08', WCSTOIPERFTE) Dec,
decode (MONTH, 'JAN-08', WCSTOIPERFTE) Jan,
decode (MONTH, 'FEB-08', WCSTOIPERFTE) Feb,
decode (MONTH, 'MAR-08', WCSTOIPERFTE) Mar,
decode (MONTH, 'APR-08', WCSTOIPERFTE) Apr,
decode (MONTH, 'MAY-08', WCSTOIPERFTE) May,
decode (MONTH, 'JUN-08', WCSTOIPERFTE) Jun
from t
union all
Select 'SIOs Per Billing FTE' descr,
decode (MONTH, 'METRICS', WCSSIOPERFTE) MET,
decode (MONTH, 'JUL-08', WCSSIOPERFTE) Jul,
decode (MONTH, 'AUG-08', WCSSIOPERFTE) Aug,
decode (MONTH, 'SEP-08', WCSSIOPERFTE) Sep,
decode (MONTH, 'OCT-08', WCSSIOPERFTE) Oct,
decode (MONTH, 'NOV-08', WCSSIOPERFTE) Nov,
decode (MONTH, 'DEC-08', WCSSIOPERFTE) Dec,
decode (MONTH, 'JAN-08', WCSSIOPERFTE) Jan,
decode (MONTH, 'FEB-08', WCSSIOPERFTE) Feb,
decode (MONTH, 'MAR-08', WCSSIOPERFTE) Mar,
decode (MONTH, 'APR-08', WCSSIOPERFTE) Apr,
decode (MONTH, 'MAY-08', WCSSIOPERFTE) May,
decode (MONTH, 'JUN-08', WCSSIOPERFTE) Jun
from t
union all
Select 'Total Calls Answered per FTE' descr,
decode (MONTH, 'METRICS', WCSTCPERFTE) MET,
decode (MONTH, 'JUL-08', WCSTCPERFTE) Jul,
decode (MONTH, 'AUG-08', WCSTCPERFTE) Aug,
decode (MONTH, 'SEP-08', WCSTCPERFTE) Sep,
decode (MONTH, 'OCT-08', WCSTCPERFTE) Oct,
decode (MONTH, 'NOV-08', WCSTCPERFTE) Nov,
decode (MONTH, 'DEC-08', WCSTCPERFTE) Dec,
decode (MONTH, 'JAN-08', WCSTCPERFTE) Jan,
decode (MONTH, 'FEB-08', WCSTCPERFTE) Feb,
decode (MONTH, 'MAR-08', WCSTCPERFTE) Mar,
decode (MONTH, 'APR-08', WCSTCPERFTE) Apr,
decode (MONTH, 'MAY-08', WCSTCPERFTE) May,
decode (MONTH, 'JUN-08', WCSTCPERFTE) Jun
from t
union all
Select 'ADSL Orders per FTE' descr,
decode (MONTH, 'METRICS', WCSADSLPERFTE) MET,
decode (MONTH, 'JUL-08', WCSADSLPERFTE) Jul,
decode (MONTH, 'AUG-08', WCSADSLPERFTE) Aug,
decode (MONTH, 'SEP-08', WCSADSLPERFTE) Sep,
decode (MONTH, 'OCT-08', WCSADSLPERFTE) Oct,
decode (MONTH, 'NOV-08', WCSADSLPERFTE) Nov,
decode (MONTH, 'DEC-08', WCSADSLPERFTE) Dec,
decode (MONTH, 'JAN-08', WCSADSLPERFTE) Jan,
decode (MONTH, 'FEB-08', WCSADSLPERFTE) Feb,
decode (MONTH, 'MAR-08', WCSADSLPERFTE) Mar,
decode (MONTH, 'APR-08', WCSADSLPERFTE) Apr,
decode (MONTH, 'MAY-08', WCSADSLPERFTE) May,
decode (MONTH, 'JUN-08', WCSADSLPERFTE) Jun
from t
GROUP by descr
FrankBorg Species 5618 wrote:
Having trouble passing multiple values to another page via a popup SQL report
But when I want to pass another value, all goes bonkers and instead of the value of the field being passed the literal text is passed.
can someone look at my code below and see what may be wrong
Select '<a href="javascript:popUp2('''
|| 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
|| 'P950_TYPE,P950_CODE:'
|| descr, Met
|| ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
|| descr
|| '</a>' "Note"
Hi Frank,
You should close this parameters with single quotation. Try this -
Select '<a href="javascript:popUp2('''
|| 'f?p=&APP_ID.:950:&SESSION.::&DEBUG.::'
|| 'P950_TYPE,P950_CODE:'
*|| 'descr, Met'*
|| ''', 790, 460);"style="color:darkred; font-weight: bold;font-size: 90%">'
|| descr
|| '</a>' "Note"
Hope this helps.
Regards,
M Tajuddin
http://tajuddin.whitepagesbd.com -
Hi all,
This is my first time using this discussion site! Any help would be great, as I am getting very frustrated with pages!
What I am trying to do is link text at the bottom of a document to a page at the beginning of the document. I can't find a bookmark option adn when I clink insert link it only provides an options to link to a web page. Help! thanksBookmarks are missing (sadly) and with them, the ability to create an in document link.
I was looking for this feature in a Table of Contents. When you assign a 'style' to text in a document, you can Insert > Table of Contents. Then Pages will keep the TOC updated and you'll be able to 'link' from the page number in the TOC. (Not much help though, for the OP) -
When creating a many-to-many view link based on a many-to-many association, the view object on the left must be based on the entity that was on the left when creating the association. Why is this? Surely it shouldn't matter.
Just to add to this:
If the view object on the left of the link is not based on the entity that was on the left when creating the underlying association then the accessors for the association will not be visible under the view in the link editor. -
Handling Infinity in Link Editor
Hi,
I have requirement where I need to handle value 'Infinity' (∞) in Link Editor and set certain conditions based on that. But the conditional statements (if, stringif) do not seem to catch it (MII version 12.2)
∞ as number(integer, double) is not recognized by Link Editor, but "∞" as a string is accepted. Hence I tried converting it to a number using number("∞"). But that too doesn't work.
Any idea on how this can be acheived? Thanks
Note: I get ∞ as an output of SPC Component as its considered as the a valid value per the requirementsYes it is.
For AND : <<Condition1>> <b>&&</b> <<Condition2>>
For OR : <<Condition1>> <b>||</b> <<Condition2>>
You can use the <b>double ampersand (&&)</b> for <b>AND</b> and <b>double pipe (||)</b> for <b>OR</b> -
Is there a ¿ is number function ? in the link editor
Good afternoon all,
I would like to test if a character is a number or a string . ¿ How can I do it ? . I can not find any function in the link editor .
Thanks in advance,If you use the number() function here are the results you will get:
number("300") returns 300
number("abcde") returns error
number("301abcde100") returns 301
number("abde300") returns error
a better way to test for a number only vs an alphanumeric string is to use the format function like this:
format(300,"#") returns 300
format("300","#") returns 300
format("abcde","#") returns error
format("301abcde100") returns error
format("abde300") returns error
regards, Steve
Maybe you are looking for
-
Will a new 320gb hard drive work on a mac book pro 3,1
purchased new 320GB hard drive for a mac book pro 3,1. Old HD has link speed of 1.5GB, new HD transfers at 3GB. New HD will not boot up. Can link speed be changed on mac book pro 3,1.
-
How to filter starttrigger on counter output precisely
HW PCI6602 Measurement studio 2008 (C#)NI-DAQmx 9.02I'm trying to trig a camera using the output from a counter. The camera should be trigged when the counter input pulse width is larger than approx (filterPulseWidth 10us).To do this a have set up th
-
Preventing Copy & Paste from Within A Browser
I created a pdf from a WORD document. I then opened the PDF and went to ADVANCED>>SECURITY. I applied sucurity principles that would not allow copy and paste as well as printing and I locked it with a password (the document can be opened without a
-
HT5071 Can .iba files (templates) be sold outside the iBookStore?
I just saw a couple of websites selling iBooksAuthor templates. Just wondering if there is an opportunity here in order to provide a rich collection of templates to ebook creators. Thank you.
-
Hi, i've imported some mts files from my camera on fcpx 10,04 then i erase them (also from the trash). now if i try to reimport them, the import from camera doesn't see them anymore even if i see the files in the finder. someone could help me?? ps i