Help required Simple salary table calcuation
Hi All,
I am starting to use the LiveCycle Designer.I want to create a form for Salary calculations. Table with 3 rows n 2 columns.
Gross Salary - 10000 (Default and Editable)
Basic Sal - (Gross Salary * .012) (It shows based on Default GSal value)
Rest - (Gross Salary *.088) (It shows based on Default GSal value)
The functionality :
Basic Sal and Rest will by default show value based on the Gsal
Every Time GSal Changes the Basic Sal and the Rest columns.
What will be the Javascript to be associated to achieve the recalucation part once the user enters some other gross salary value.
I have problems even seeing the defalt one itself.
Mycode for the Basic Sal and Rest cells:
----- form1.#subform[0].Table1.Row2.BSal::calculate: - (JavaScript, client)
this.rawValue = (GSal.rawValue * .012);
----- form1.#subform[0].Table1.Row3.Cell2::calculate: - (JavaScript, client)
this.rawValue = (GSal.rawValue * .088);
Someone please do help me out with some help.
Thanks and Regards,
Hari.
Hello Hari. Using FormCalc, here are the two scripts.
Sum(GSal)*(.012) - Place in the calculate event of the BasicSal field
Sum(GSal)*(.088) - Place in the calculate event of the Rest field
In each of the calculated fields, in the Value tab under the Object tab, set the type to Calculated - Read Only and make sure the Calculation Script button is checked. As a side note, I used decimal fields for this in case your users might need to enter an odd salary amount, like 10012.34.
Regards,
Dave
Similar Messages
-
Help required - mac address table, virtual pc/ip addressing issue
Hi, hope someone out there can help?
This is the scenario
SW1 (WS-C2960G-48TC-L) port gig0/1 has a PC connected to it with ip address 10.182.8.6 and a Virtual IP address 10.182.8.107
SW2 (WS-C2960-24TT-L) port gig 0/1 has a PC connected to it with ip address 10.182.8.106
The system is designed so that if there is an issue with the PC connected to SW1, the PC on SW2 will take over the Virtual IP address and continue working.
We have a couple of other PC's in different subnets to the above PC's that use the Virtual IP (VIP) address to communicate with the PC that is 'on line'.
Unfortunately, the vendors software doesn't currently gratuitously refresh the arp to advertise the change of mac address for the VIP.
Is there anyway we can get the 2 dcnsw to 'refresh' on a regular time period to capture when the VIP changes to the other PC?Hi Stephen
Without meaning to sound rude, the software which uses a VIP is not very well designed if it is not capable of sending a Gratuitous ARP one the Active one fails.
The default ARP cache timeout is 4 hours so an ARP entry will remain in the table and once the timeout is up, the switch will send an ARP to check if the device is still alive and if not, remove the entry from the table.
You could look at reducing the ARP timeout on a per port basis:
#interface gi1/0/1
#arp timeout 60
This will change the ARP cache timeout to 60 seconds for that port but having not used this before, I am not 100% this will address your issue. I would not advise trying to change the global ARP cache timeout for a production switch as this will increase ARP traffic and could cause problems if reduced to a small value. -
Help Required::::Simple queries from a beginner's prespective for certi
Hi All,
I was preparing for the HFM certi.
While, going through the bootcamp exercises, i have come across some problems which I have formulated as questions.
PFB my queries for HFM .
· There is a property called “Consolidation Rules” in Appsettings—It has values “y” or “N” or “R”…What is the significance of each of these.We have a Sub-Consolidate subrountine in the rules file..if we choose “Y” in Consolidation Rules ,does it pick up the subroutine written by us in rules file or does HFM perform its own default Consolidation?
· Meaning of ICP Entities Aggregation Weight.Its usage.
· Node Security is an option at App Settings level—how is it used to define access at user/group level?
· Concept of the “IsConsolidated” Property with Accounts
· In Scenario, Property called “Zero View for Adj/Non Adj”
Thanks,
ColDFirEhi
You are right about Consolidation rules.This option specifies whether consolidation rules are supported. Specify one of these values:
Y to use the rules written in the Consolidate()routine in a user-defined rule.
R to derive the proportional value in the Value dimension. Note that the proportional data is not stored.
N to use the default consolidation and eliminations.
IsConsolidated
Determines if the current Account dimension member or a specified account member is a
consolidated account. This function can be used in these types of rules:
● Calculation
● Translation
● Consolidation
● Allocation
Ex:HS.Account.IsConsolidated("Account")
ZeroViewForAdj
Specifies how to interpret missing, adjusted data values for the period.This attribute is required. Specify YTD or Periodic.
i guess admin guide can cover all your question
read http://download.oracle.com/docs/cd/E12825_01/epm.111/hfm_admin.pdf
regards
alexander -
Help required in retrieving the category1 & category2 values for CRM SR
Hi Friends,
We are currently working on a requirement where in we need to update the status of Service request having the external reference nbr that is coming from back end ECC System. This number is already stored in the CRM Service request document. The external reference field is added through AET Tool.
The backend application calls our CRM RFC FM and passes the external reference nbr as input parameter. We are trying to query the CRMD_ORDERADM_H table with the external reference number and get the list of all service requests having this number. Now we need to select only those service requests having the category1 as Order and category2 as block.
We have found the table CRMD_SRV_SUBJECT but not able to find the link table that connects the GUID of service request with GUID of CRMD_SRV_SUBJECT.
Any pointers on this would be of great help.
Thanks,
UdayaHello Udaya,
Welcome to Categories Search. I also faced this issue to retrieve all levels of categories for a Service Request.
I am glad I can share with you how this was resolved.
Use the following steps:
1. Pass SR GUID in field GUID of table CRMV_REPORT_SUBJ and get KATALOGART, CODEGRUPPE and CODE field values in lv_catalog, lv_codegrp and lv_code.
2. Now you need to concatenate these 3 fields values carefully like this:
CONCATENATE lv_catelog lv_codegrp ' ' lv_code into lv_category1.
*Remember there are 4 spaces between lv_codegrp and lv_code.*
3. Now pass this lv_category1 in field OBJEXT in table CRMC_ERMS_CAT_OK and get OBJGUID in field lv_objguid.
4. Pass this lv_objguid in field OBJ_GUID and *LNK_TYPE = 'IS_CODE'* in table CRMC_ERMS_CAT_LN and get value of CAT_GUID in lv_cat_guid.
5. Pass this lv_cat_guid in field CAT_GUID in table CRMC_ERMS_CAT_CA and get value of CAT_ID in field lv_cat_text.
Remember this lv_cat_text is the text value of your last level of category of SR.
6. To get its upper cateogry level value, simple use table CRMC_ERMS_CAT_HI and get parent guid value and pass this as CAT_GUID again in table CRMC_ERMS_CAT_CA to get its text.
Alternatively, you can also use class method cl_crm_ml_category_util=>get_parse_all to get all levels of categories.
I hope this helps.
Thanks
Vishal
Edited by: Vishal Kesar on Jul 30, 2010 5:12 PM -
Help required network configuration - Gateway route settings get erased on reboot.
Oracle Linux 7
Linux myhostname 3.8.13-35.3.1.el7uek.x86_64 #2 SMP Wed Jun 25 15:27:43 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
#cat /etc/sysconfig/network-scripts/ifcfg-eno16780032
TYPE="Ethernet"
BOOTPROTO="none"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
NAME="eno16780032"
UUID="2d1107e3-8bd9-49b1-b726-701c56dc368b"
ONBOOT="yes"
IPADDR0="34.36.140.86"
PREFIX0="22"
GATEWAY0="34.36.143.254"
DNS1="34.36.132.1"
DNS2="34.34.132.1"
DOMAIN="corp.halliburton.com"
HWADDR="00:50:56:AC:3F:F9"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
NM_CONTROLLED="no"
#route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 34.36.143.254 0.0.0.0 UG 0 0 0 eno16780032
34.36.140.0 0.0.0.0 255.255.252.0 U 0 0 0 eno16780032
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eno16780032
When I reboot the machine, the first line in route table gets erased, I then run:
#route add default gw 34.36.143.254
After which network works fine.
Help required. I don't want to use NetworkManager.The following might be useful:
https://access.redhat.com/solutions/783533
"When transitioning from NetworkManager to using the network initscript, the default gateway parameter in the interface's ifcfg file will be depicted as 'GATEWAY0'. In order for the ifcfg file to be compatible with the network initscript, this parameter must be renamed to 'GATEWAY'. This limitation will be addressed in an upcoming release of RHEL7."
NetworkManager is now the default mechanism for RHEL 7. Personally I don't quite understand this, because as far as I can gather it is a program for systems to automatically detect and connect to known networks. I think such functionality can be useful when switching between wireless and wired networks, but for a server platform, I wonder. -
Help required with (soundcard) connection / settings, thanks in advan
Help required with connection / settings between a Creative Sound Blaster Audigy Platinum EX (soundcard) and a Creative DTT3500 Digital (5. speakers).
The problem
No sound from any of the speakers. (Exception can plug in headphones at front)
Background
My computer has been recently upgraded at my local computer shop and all programs re-installed (including driver update from Creative's website). However after reconnecting speakers and restoring the original settings I?m getting no sound from any of the speakers. I?ve followed all the available advice/instructions I can find on this website and manuals to no avail.
Set-up
Physical
(Digital DIN) Speakers/decoder amplifier (DTT3500) connected to the (digital out) soundcard (Audigy Platinum EX) using minijack to DIN cable. (As per instruction manual)
Software
Creative Audio Consul ? setting as per instructions, however have tried variations in vain. (Note: above tabs there is a select device box with SB Audigy [A0000] in it ? only option. Just wondering what [A0000] means?)
Your advice please. A simple step by step guide would be appreciated, many thanks in advance, Jon"My computer has been recently upgraded at my local computer shop and all programs re-installed (including driver update from Creative's website). "
Do you have the original installation disk?
If so, try installing THOSE drivers, ESPECIALLY if it worked before. Be sure to uninstall what is there now, first.
Its natural for most people to want the 'latest' drivers for their hardware. However:
After experiencing some difficulties with some CL 'updates' for certain products, I now avoid them UNLESS I am having a PROBLEM with the existing drivers. -
Help required with an error message.
"Table Z0CL_BATCLA for object class CHARGE does not exist"Hi
It means your Z0CL_BATCLA is not assigned to object CHARGE, you have to create the linke between object and table in the table TCDOB.
You can do it by trx SCDO, but in this case you have to change in standard object.
Max -
Attachment issue --very urgent help required
Hello friends,
1)i have create page and deatal page . requirement is that we have to load required attachments in table region, if not loading required attachments exception will raise. this validation is working fine in create page.
2)same in detail page i loaded required attachments also excepiton is raising.
waht would be cause. i am very new to ADF technology.
very urgent to fix this issue. any one help me out.
Thanks,
vamshi.
Edited by: Krishna Vamshi on Jul 1, 2010 6:14 PMKirshna,
Unfortunately your question is very unclear.
Let me say that if you are asking about OA Framework, you should ask on the OA Framework forum, not here.
also excepiton is raising.It will help if you say what the exception is.
John -
Help me to update table with condition's
this table is an alert table which will update when the sql server down , not pinging and drive space low.
Every 15 mins the monitoring system run. if the any issue came then it will update the information in this table. if the issue not solved by 15 mins the table will update again with the same details..
I would like update tickeraised = Y only on first time and if i got same issue less then 30 min the it should not change to Y.. based on server name , type and message.
min >10 and <20 min if any value is there then the table should not update with same value. can any one help me with tsql query...In future please post DDL and DML. For now I have created a scenario which will help you understand solution to your own requirement.
CREATE TABLE Tickets_Log(
Ticked_ID SMALLINT IDENTITY(1,1) PRIMARY KEY,
Ticket_Type VARCHAR(20) NOT NULL,
Log_Date DATETIME2 NOT NULL DEFAULT DATEADD(MINUTE,-15,GETDATE()),
Machine_Name VARCHAR(50) NOT NULL,
Message VARCHAR(100) NOT NULL,
Ticket_Status CHAR(2) NOT NULL DEFAULT 'N',
Update_Status SMALLINT DEFAULT 0)
INSERT Tickets_Log(Ticket_Type,Machine_Name,Message)
SELECT 'Pinging','HOD-400-651','Server Not Pinging' UNION
SELECT 'Low Drive Space','HOD-400-652','Drive Space Low' UNION
SELECT 'Connection','HOD-400-653','Unable to Connect to Server'
UPDATE TL
SET Log_Date=NewTickets.Log_Date,
Update_Status=1
FROM( SELECT 'Pinging' Ticket_Type,'HOD-400-651' Machine_Name,'Server Not Pinging' Message,GETDATE() Log_Date UNION
SELECT 'Pinging','HOD-400-653','Server Not Pinging',GETDATE() Log_Date) NewTickets
LEFT JOIN Tickets_Log TL ON NewTickets.Machine_Name=TL.Machine_Name AND NewTickets.Ticket_Type=TL.Ticket_Type
WHERE TL.Ticket_Type IS NOT NULL AND TL.Machine_Name IS NOT NULL AND DATEDIFF(MINUTE,TL.Log_Date,NewTickets.Log_Date)>=15 AND Update_Status=0
INSERT Tickets_Log(Ticket_Type,Machine_Name,Message,Log_Date)
SELECT NewTickets.*
FROM( SELECT 'Pinging' Ticket_Type,'HOD-400-651' Machine_Name,'Server Not Pinging' Message,GETDATE() Log_Date UNION
SELECT 'Pinging','HOD-400-653','Server Not Pinging',GETDATE() Log_Date) NewTickets
LEFT JOIN Tickets_Log TL ON NewTickets.Machine_Name=TL.Machine_Name AND NewTickets.Ticket_Type=TL.Ticket_Type
WHERE TL.Ticket_Type IS NULL AND TL.Machine_Name IS NULL
Chaos isn’t a pit. Chaos is a ladder. Many who try to climb it fail and never get to try again. The fall breaks them. And some are given a chance to climb, but they refuse. They cling to the realm, or the gods, or love. Illusions. Only the ladder is real.
The climb is all there is. -
Basically i have a regular HTML table of static data that I
wish to make the columns sortable. I do not wish to load the data
via a dataset.
Looking at the Dreamweaver CS3 help files is suggests that
this is possible:
"If you are creating a simple table, you can set one or more
columns as sortable and define CSS styles for various table
elements."
"If you are creating a simple Spry Table, deselect the
default option, Update Detail Region When Row Is Clicked. Keep the
option selected if you are creating a dynamic master Spry table. "
Now by using the insert spry table command in DW, the "Update
Detail Region When Row Is Clicked" is already deselected and it
will not allow me to insert a spry table until i define a dataset.
Is what I am trying to do at all possible?
TIAHi,
We are thinking about making a table widget that will do
what you are looking to do, but for now you will have to make a
data set.
But, you can use the HTMLDataSet and use your existing HTML
table as the data source.
Check out this sample.
http://labs.adobe.com/technologies/spry/samples/htmldataset/index.html
Hope this helps.
Don -
Extraction for Cube 0PM_C05 requires customizing of table T_PMC05
Hi can any body tell how to solve this error.
Extraction for Cube 0PM_C05 requires customizing of table T_PMC05.
Iam loading data to 0PM_C05 CUBE which has a datasource 0PM_PRM_PLCS_1 which is displaying as errors in source systems.
This is a plant maintenence cube and ia replicated the datasource agian in BI Production and it is active.
Edited by: manukonda anil kumar on Feb 17, 2011 5:45 AMHi syed
Take the help of an ABAP person.
There will be same table resembling the name .
So the data needs to be updated in the corresponding table .
When the core people are updating data from different palnts and sites accross.
In my case i haven't moved further.
This is a configuration change form R/3 side where the data had to be fetched in the orrect table .
Regards
Anil . -
Java Mail,SMTP server not starting,help required urgently
Hi i have been working on java mail .Yesterday it was working ok but today suddenely i am getting this thing.its not starting the smtp server i guess,just exiting and get the command prompt ..dont know what to do.help required how to go about this error
am pasting the debug information.please check and let me know
the compilation ,smtp server and others are all valid
thanks
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Pavan>cd C:\Program Files\Java\jdk1.5.0_07\bin
C:\Program Files\Java\jdk1.5.0_07\bin>javac jdbcExample3.java
C:\Program Files\Java\jdk1.5.0_07\bin>java jdbcExample3 smtpserver address
DEBUG: JavaMail version 1.4ea
DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_07\jre\lib\
javamail.providers (The system cannot find the file specified)
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax
.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsyste
ms, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com
.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLSt
ore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsyst
ems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.su
n.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=jav
ax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc],
com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP
3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.
sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STOR
E,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Prov
ider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],
pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems
, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun
Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.S
MTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_07\jre\lib\
javamail.address.map (The system cannot find the file specified)
C:\Program Files\Java\jdk1.5.0_07\bin>The debug output doesn't show an obvious problem. You're
going to have to actually debug your program. A debugger
might be helpful. -
Help required regarding struts
Hi i m tryin to make a simple struts application where in i have use struts iterator tags to display the fields in jsp but when i submit the jsp i am getting null values in action. here is the code ...pls anybody help...
<table>
<logic:present name="testForm" property="arrtest">
<logic:iterate name="testForm" id="list" property="arrtest"
indexId="index">
<bean:define id="labelbean" name="list"
type="com.TestDto" />
<tr>
<td><%=index.intValue() + 1%></td>
<td><bean:write name="labelbean" property="tag" /></td>
<TD><html:text name="labelbean" property="name" size="7" /></TD>
<td><logic:iterate id="arrval" name="labelbean" property="arrValues"
indexId="index1">
<input type="text" value="<bean:write name="arrval"/>" size="1"
disabled />
</logic:iterate></td>
</tr>
</logic:iterate>
</logic:present>
</table>
here is the form:
private ArrayList arrtest ;
private TestDto dto;
and their getters and setters...
when i am sending values from action to jsp its displaying correctly but when i am submitting jsp all null is going....can anybaody checkout what am i missing...
KelvinatorThanks a lot... but i have figured out already that using nested struts is an easy method to implement this and i have already implemented that. The jsp is looking much cleaner now. Thanks a lot once again for your time and if you want to have a look at nested struts go thru this link:
http://www.keyboardmonkey.com/next/index.jsp -
XSLT mapping Help Required.
XSLT mapping Help Required.
Hi Experts,
I am New to XSLT Mapping. I am practising the below Example:
InputXML File:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="Persons111.xsl"?>
<ns0:MT_XSLT_Source xmlns:ns0="http://XYZ.com/gen">
<Person>
<FirstName>Anshul</FirstName>
<LastName>Chowdhary</LastName>
<Gender>Male</Gender>
<Address>
<Street>2nd Main</Street>
<Houseno>83/b</Houseno>
<City>Mysore</City>
</Address> </Person>
</ns0:MT_XSLT_Source>
XSL StyleSheet File:
<?xml version='1.0' encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://XYZ.com/Gen"
Xmlns:ns1=”http://XYZ.com/Test”>
<xsl:template match="/">
<ns1:MT_XSLT_Target>
<Title> <xsl:value-of select="ns0:MT_XSLT_Source/Person/Gender"/> </Title>
<Name> <xsl:value-of select="concat(concat(ns0:MT_XSLT_Source/Person/FirstName,' '), ns0:MT_XSLT_Source/Person/LastName)"/>
</Name>
<Street> <xsl:value-of select="concat(concat(ns0:Mt_XSLT_Source/Person/Address/Houseno,' '),
ns0:Mt_XSLT_Source/Person/Address/Street)"/> </Street>
<City> <xsl:value-of select="ns0:Mt_XSLT_Source/Person/Address/City"/> </City>
</ns1:MT_XSLT_Target>
</xsl:template>
</xsl:stylesheet>
The Desired Output shuold be:
<?xml version="1.0" encoding="UTF-8"?>
<ns1:MT_XSLT_Target xmlns:ns1="http://XYZ.com/Test">
<Title>Male</Title>
<Name>Anshul Chowdhary</Name>
<Street>83/b 2nd Main</Street>
<City>Mysore</City>
</ns1:MT_XSLT_Target>
I have refered the xsl in xml and i am getting the below Oupt in a Single line like this:
Anshul Chowdhary Male 2nd Main 83/b Mysore
I am Unable to display in Target XML Fomrat as shown above. Please check and do the needful.
Regards,
GIRIDHARHi,
I have used below for testing.
Input xml:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="Persons111.xsl"?>
<ns0:MT_XSLT_Source xmlns:ns0="http://XYZ.com/gen">
<Person>
<FirstName>Anshul</FirstName>
<LastName>Chowdhary</LastName>
<Gender>Male</Gender>
<Address>
<Street>2nd Main</Street>
<Houseno>83/b</Houseno>
<City>Mysore</City>
</Address> </Person>
</ns0:MT_XSLT_Source>
xsl code:
<?xml version='1.0' encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://XYZ.com/gen"
xmlns:ns1="http://XYZ.com/Test">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<ns1:MT_XSLT_Target>
<Title> <xsl:value-of select="ns0:MT_XSLT_Source/Person/Gender"/> </Title>
<Name> <xsl:value-of select="concat(concat(ns0:MT_XSLT_Source/Person/FirstName,' '), ns0:MT_XSLT_Source/Person/LastName)"/>
</Name>
<Street> <xsl:value-of select="concat(concat(/ns0:MT_XSLT_Source/Person/Address/Houseno,' '),
/ns0:MT_XSLT_Source/Person/Address/Street)"/> </Street>
<City> <xsl:value-of select="/ns0:MT_XSLT_Source/Person/Address/City"/> </City>
</ns1:MT_XSLT_Target>
</xsl:template>
</xsl:stylesheet>
For testing in PI ,change the extension from .txt to .xsl and zip it and upload into PI as an imported archive .
Regards
Venkat -
Urgent help required: Query regarding LC Variables
Hi All
Sometime earlier I was working on a performance issue raised by a customer. It was shell script that was taking almost 8-9 hrs to complete. During my research I came across a fact that there were some variables which were not set, the LC variables were impacting the sort funnel operations because of which the script was taking a long time to execute.
I asked them to export the following commands, after which the program went on smoothly and finished in a couple of mins:
export LC_COLLATE=en_US.ISO8859-1
export LC_MESSAGES=C
export LC_MONETARY=en_US.ISO8859-1
export LC_MONETARY=en_US.ISO8859-1
export HZ=100
export LC_CTYPE=en_US.ISO8859-1
export LANG=en_US.UTF-8
Later I did recover that setting the LC_COLLATE to C, is not helping and the program was again taking a lot of time. Few questions that I want to ask are:
1. Can someone please tell me, what each of these variable mean and how these values make a difference.
2. When I exported LC_COLLATE=en_US.ISO8859-1, it worked fine, but when i tried with the defalut value LC_COLLATE=C, then why the program didnt work.
As this issue is still going on, hence I would request All to provide their valuable inputs and let me know as much as possible.
Appreciate your help in this regard.
Thanks
Amit
Hi All
A new development in this regard. The customer has send us a screen shot in which they were trying to export the locale variable using the commands which I have pasted above. I can see in the screen shot that while exporting LC_COLLATE and LC_TYPE, they get a message that ""ksh: export: couldn't set locale correctly"".
Request everyone to please give their inputs as it's a bit urgent.
Thanks for all the help in advance.
Thanks
Amit
Some help required please...
Edited by: amitsinhaengg on Jul 22, 2009 2:03 AM
Edited by: amitsinhaengg on Jul 22, 2009 2:06 AMLC_CTYPE
Controls the behavior of character handling functions.
LC_TIME
Specifies date and time formats, including month names, days of the week, and common full and abbreviated representations.
LC_MONETARY
Specifies monetary formats, including the currency symbol for the locale, thousands separator, sign position, the number of fractional digits, and so forth.
LC_NUMERIC
Specifies the decimal delimiter (or radix character), the thousands separator, and the grouping.
LC_COLLATE
Specifies a collation order and regular expression definition for the locale.
LC_MESSAGES
Specifies the language in which the localized messages are written, and affirmative and negative responses of the locale (yes and no strings and expressions).
You can use command
# locale -k LC_CTYPE
to see more detail about each type.
Maybe you are looking for
-
I bought a gift card from Coles in Australia (whre I live). I logged on to my iTunes and tried to redeem my card but it said the gift card was for Oz and not compatible with the US store. I thought I was in the Oz store but obviously not. How do I ge
-
Change visible layers in placed PDF
I need to programmatically change the visibility of layers in a placed PDF. Do I use kChangeVisibleLayersCmdBoss? Please show an example. I can get the "eyeball" to toggle in the "Object Layer Options" dialog box, but the view does not reflect the ch
-
More problems with my audigy se c
Idid a dxiag and it told me my card does not support hardware buffering this is strange becuse the feature that i think this card has it should be able to support that ?anyone can help me with this?
-
Problem updating from 1.2 to 1.3.1
Hi, I previously updated from 1.2 to version 1.3 but returned to 1.2 due to issues. Now I was trying to update to 1.3.1 but I get the following error. Error 2753 The File pxsetup.exe1 is not marked for installation. Anyone got any ideas? Thanks in ad
-
Coldfusion : Developer Version
Hi, Can we use a developer version purely for development purpose? The code set developed using the developer version will be then moved to the live environment where the Standard edition is installed. Mu question is whether we can use the developer