1 configuration file for all control files
I happen to use sqlldr many times in my automation work. Most of the times few things in all my control files are same like
LOAD DATA
FIELDS TERMINATED BY ','
TRAILING NULLCOLS
However if for some reason, something like delimiter changes, then I have to change the second line in all my control files and this makes maintenance tough.
Was just wondering if its possible to store the common configuration settings in 1 config file and making sqlldr ctl files picking those common settings from 1 single file?
Regards,
Parag
Edited by: Parag Kalra on Jul 25, 2010 12:15 AM
Edited by: Parag Kalra on Jul 25, 2010 12:22 AM
Of course you don't mention a version. Type four digits and three dots: too much work.
Anyway: if you submit it as a feature request on Metaclunk, it might be arranged in release 13<whatever>, two years from now.
Sybrand Bakker
Senior Oracle DBA
Similar Messages
-
Configuration guide for Action Control Matrix
Hi, Does anyone configuration guide for action control and status matrix for VMS for Equipment master, General Object creation, Master warranty creation and assignement for the object VELO.
I have seen this as well as the SAP best practices configuration guide, they do not talk about the status for CREQ. We have defined it as secondary action and executed the action but it does not create the equiment. The CS/Plant maintenance does not seem to recognise objects created from VELO. Although the documentation talks of VELO as equipment categry along with the standard equipement category EQ, we are not sure if we have to add VELO as equipment category (add how to add as well) so that the vehicle master details can be carried from VELO into equipment for warranty processing.
Thanks -
How do I set a default for all controls?
For example, I want the label to always appear on the left. Instead of setting the control attribute for each LED separately, I'd rather set a default to be applied to all LEDs.
I'd prefer to do this programmatically.
Thanks!!!Hi,
one possibility is to use the function call SetAttributeForCtrls from the programmer's toolbox library.
Another, to generate the controls programmatically - if you are using your own functions to do so you can define the default as to your liking.
Wolfgang -
Get Specific References for all Controls
Using slightly modified code from here, I am generating an array of all control references on my main front panel which is then passed through to a number of subVIs. Although this functionality does work, it would be preferable to get specific references to the controls (for example, Boolean RefNum instead of Control RefNum).
Getting these specific references seems possible using To More Specific Class and Class Specifier constants. However, data storage becomes an issue because I can no longer use arrays (as they are a different data type). I am not sure if there is another way to pass this data on. I have experimented casting the RefNums to Variants, but to get the data from the variant, I have to know what RefNum type I am expecting which sort of defeats the purpose of doing this in the first place.
A secondary problem is keeping the names of the references. The Control RefNums do not have names associated with them nor do I know how to assign names to them. I've again tried using variants and using the OpenG Set Data Name function, but this crashes LabVIEW without any indication of why.
I've attached a version of my code that tries assign names using OpenG Set Data Name and build a variant array. To run it, simple add the VI as a subVI to a VI that has some boolean controls on the Front Panel. Apologies for the rough state of the code - I'm still in the process of figuring out how to make it work so things are a bit messy.
Solved!
Go to Solution.
Attachments:
Get Specific Control Refs.vi 28 KBI don't know if you'll get much better. There is really no way I know of to have some fully flexible way of building named clusters of references based on any given front panel set you feed to it.
I tend to do things the manual way (as there are also a bunch of references to front panel elements I wouldn't need). I would do all the bundling work in a subVI.
I'm attaching a zip file that contains the key VI's (unless I missed something) on the first project where I really tried to abstract out the reference building. The files are LV9.
On my main VI, I have the subVI called Build UI References early in the VI during an initialization phase. I pass the reference to the main VI into that subVI that builds all the references. I worked it as a master cluster that contains elements that are arrays of references of related controls. It uses another subVI called Get References and Label Names that I created to help find controls. I still need to use More Specific Class to get the property references, but I don that only once at the beginning. I then pass that cluster wire out and to anywhere in my VI that would need access to the references for front panel elements.
I use arrays of strings to supply the names I need to build and bundle the references. This lets me ignore controls I don't care about. The disadvantages to my system is that if I change the name of any control, I need to update the name within this subVI. And if I want to add any controls, not only do I need to add the label names for the searching functions, I also need to update my typedef cluster (and you definitely want this to be a typedef) to add a spot to store the new reference.
I hope this gives you some ideas. It worked for me and I will likely use the scheme on another project (or even rewrite past projects using this scheme.) If there are any ideas for improvements, I'd be happy to hear them.
Attachments:
Build UI refs.zip 83 KB -
How do you configure Firefox for all users on a machine?
I want to
1. Take my existing set-up of Firefox
a. with all bookmarks
b. with all my chosen options
c. with my default start-up home page
d. bypass all the initial Firefox startup screen and "make this your default screen"
2. Have it be the base set-up for all users that log into a machine on our domain.
Is there a config file? Where do I place this config file so when all open their firefox it takes the above settings. I am creating a base image using VMware and will want this set-up so when a user log in with their logon credentials and open Firefox, it already has the above mentioned settings in place.See CCK Wizard: https://addons.mozilla.org/firefox/addon/cck/
You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // use this to disable the byte-shift
See:
*http://kb.mozillazine.org/Locking_preferences
These functions can be used in the mozilla.cfg file:
defaultPref(); // set new default value
pref(); // set pref, but allow changes in current session
lockPref(); // lock pref, disallow changes -
Configure "reset" for all default signatures
Hi all,
When I update signature (all default signature by Cisco), I want to configure "action: reset" for all default signatures (all default signatures that are turned on) . If you know how to do that, please answer me.
Thank you very much.
Duy KhangDo you mean after each sig update? You can go into the sig configuration and do a "select by" release. you will get a drop-down box of releases, select the appropriate release. You can then sort by enabled. select multiple sigs at a time by using the shift key. now click the actions button to change multiple sigs at once.
-
I used the adm from Frontmotion but it only works with the FirefixCE version, I need to force Firefox configuration in my domain with a standar version of Firefox, how can I do this, it could be by GPO or logon script
Most YouTube content requires the Flash plugin. Sometimes it's necessary to uninstall then reinstall that plugin.
Uninstall the Flash plugin then reinstall new > Troubleshoot Flash Player | Mac OS
Very important to uninstall the currently installed plugin first.
Now launch Safari and try a video.
If you have the ClickToFlash extension installed, that can prevent Flash based video from streaming. It can also be installed as a plugin in /Library/Internet-Plug-Ins.
And check to see if Safari is running in 32 bit mode. Right or control click the Safari icon in your Applications folder then click Get Info. If the box next to: Open in 32 bit mode is selected, deselect, quit then relaunch Safari.
You may also need to delete the cache associated with Safari .
Open the Finder. From the Finder menu bar click Go > Go to Folder
Type or copy/paste: ~/Library/Caches/com.apple.Safari
Click Go the move the Cache.db file from the com.apple.Safari folder to the Trash.
Quit and relaunch Safari. Try a video. -
Configuring EarlyWatchAlert for all the systems in the landscape
Gurus ,
In SDCCN can i configure EARLYWATCHALERT session with targethost as SDCC_OSS
now this has been only for production system . can this be done to all the systems in the landscape ?Hi Susin,
As per me i could say the EWAlert only be configured for your production system rather
than the other systems(Dev/QA) existing in your ladscape.
If you are thinking to schedule this Alert for other products(BI/EP/XI) or for other SIDs,
then yes...please go ahead.
Why i am saying we can only schedule the EWAlert for production system, coz the
the EarlyWatch report uses the SDCC_OSS RFC, which is a copy of the SAPOSS connection. And the target destination refers to SAP's system where one copy of your
weekly shceduled EWAlert report goes to SAP end as well.
Please inform me incase any other queries...
Thank you,
Tilak -
Need help configuring Oracle for admission control&analysis(diploma thesis)
Hi, board team!
I encountered your site by searching for professional Oracle-Boards.
The threads I found on this site are all very helpful and very professional!
Sorry, for my bad english. I will try to explain everything in a very detailed way, so that you will hopefully know what i mean.
But let me explain what's my problem.
I am a student and now I am writing my diploma thesis (Analysis of Capacity mechanism in Oracle) and I have to set up an Oracle 10g Database. I managed to install Oracle using the Universal Installer. In my opinion it's a very helpful tool!
But I have difficulties configuring the Database.
The Database has to determine comparable results. I generate 3 different types of users. Each user has its own characterisations (IO and CPU consumption). The consumption for each user is always the same! (When a certain user connects to a databse the transactions/queries will be always the same).
To determine this Resource-Consumption I programmed an infinite loop (written in PL/SQL) -> infinite and equal queries.
Unfortunately the results are not comparable. The longer the loop is running the more different the results are. The results are not significant.
I think this is because of the Redo-Log-Buffers, which grow with every Transaction. (I'm sorry for wrong estimates, but I'm just a newbie with Oracle and database-systems).
After that I tried to shut down the databse after EACH measurement and finally restart the database. Now the results were all about the same.
Are there any solutions to make it more efficient?
What would you do?
After the measurements, I will write them into a Table (for each user: IO- and CPU-Consumption).
If one of the three users connects to the databse again, there will be an analysis algorithm, which queries this table and collects the measured values and the actual system-utilization (V_$-table). Therefore i will write a small program in PL/SQL. The analysis-Function is a "Black-box". I just use the functionality and submit User-consumptions and system-utilization. The function returns a value (0 or 1; 0=deny, 1=allow).
I thought to implement my small-program with the Trigger-functionality or VPD. The PL/SQL-procedure will be called after a user logged on to the database. The significant values will be queried and submitted to the "black-box" (programmed in java). The submission to this "black-box" should by implemented with Java RMI or Java Beans.
Are there any better possibilities?
Thanks for your support!
Now i will install Windows 2003 Server and Oracle 10g r2
Best regards,
mailya
"Poor" Server:
Fujitsu Siemens Computers Celsius 400
P4 1700 MHz
1GB RAM
40 GB HDD
OS: Win 2003 Server Enterprise
DB: Oracle 10g R2Hi, board team!
I encountered your site by searching for professional Oracle-Boards.
The threads I found on this site are all very helpful and very professional!
Sorry, for my bad english. I will try to explain everything in a very detailed way, so that you will hopefully know what i mean.
But let me explain what's my problem.
I am a student and now I am writing my diploma thesis (Analysis of Capacity mechanism in Oracle) and I have to set up an Oracle 10g Database. I managed to install Oracle using the Universal Installer. In my opinion it's a very helpful tool!
But I have difficulties configuring the Database.
The Database has to determine comparable results. I generate 3 different types of users. Each user has its own characterisations (IO and CPU consumption). The consumption for each user is always the same! (When a certain user connects to a databse the transactions/queries will be always the same).
To determine this Resource-Consumption I programmed an infinite loop (written in PL/SQL) -> infinite and equal queries.
Unfortunately the results are not comparable. The longer the loop is running the more different the results are. The results are not significant.
I think this is because of the Redo-Log-Buffers, which grow with every Transaction. (I'm sorry for wrong estimates, but I'm just a newbie with Oracle and database-systems).
After that I tried to shut down the databse after EACH measurement and finally restart the database. Now the results were all about the same.
Are there any solutions to make it more efficient?
What would you do?
After the measurements, I will write them into a Table (for each user: IO- and CPU-Consumption).
If one of the three users connects to the databse again, there will be an analysis algorithm, which queries this table and collects the measured values and the actual system-utilization (V_$-table). Therefore i will write a small program in PL/SQL. The analysis-Function is a "Black-box". I just use the functionality and submit User-consumptions and system-utilization. The function returns a value (0 or 1; 0=deny, 1=allow).
I thought to implement my small-program with the Trigger-functionality or VPD. The PL/SQL-procedure will be called after a user logged on to the database. The significant values will be queried and submitted to the "black-box" (programmed in java). The submission to this "black-box" should by implemented with Java RMI or Java Beans.
Are there any better possibilities?
Thanks for your support!
Now i will install Windows 2003 Server and Oracle 10g r2
Best regards,
mailya
"Poor" Server:
Fujitsu Siemens Computers Celsius 400
P4 1700 MHz
1GB RAM
40 GB HDD
OS: Win 2003 Server Enterprise
DB: Oracle 10g R2 -
"Unsupported Cluster Configuration" status for all VM's in SCVMM 2012 R2
I have multiple Hyper-V 2012 R2 clusters that are managed via SCVMM 2012 R2. I want to make all the VM's highly available, but I receive the following errors.
VM status - Unsupported Cluster Configuration
error 13923 - highly available virtual machine is not supported by VMM because its cluster resource group is not configured correctly.
error 13706 - the host network adapter is not associated with any logical networks
I have 2 10Gb NICS teamed on all the Hyper-V Hosts. Then I create virtual switches and virtual NICS in Hyper -V. I then create separate VLANS for each virtual NIC to segment traffic for clustering, live migration, etc.
I found the following article, but it seems to just show how to identify the issue, not resolve it.
http://blogs.technet.com/b/scvmm/archive/2013/09/10/working-through-an-unsupported-cluster-configuration-scenario-in-virtual-machine-manager.aspxHi ok8ru12,
Thanks , it's a good article .
>>error 13706 - the host network adapter is not associated with any logical networks
According to the error , please check the setting of "Associated logical networks " of cluster nodes :
Best Regards,
Elton Ji
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] . -
We need to do a mass deployment of Adobe Reader XI 11.0.3 with "Always hide forms document message bar" preference setting automatically set for every user so they do not have to go through the menu and set it manually.
Is there a way to configure this for all users with the customization wizard or another method?
We also need to do the same for "Do not show edit warnings"
If these are registry keys, which registry keys set these options?Try http://www.adobe.com/devnet-docs/acrobatetk/tools/PrefRef/Windows/DocumentStatus.html?zoom _highlight=message#idkeyname_1_5647.
If that doesn't work and there's a configuration item in the preferences UI, do this:
Get regshot.
Close everything but Acrobat/Reader.
Take a reg shot.
Configure the setting via the UI.
Tak another reg shot.
Compare the two.
That process will give you your answer.
If there is no corresponding pref in the UI, then you probably can't do it.
Ben -
Configuration Guideline for RE-FX (flexibel real estate)
Hi
I'm having problems with the configuration of RE-FX, one of my problems is with integration of PSCD.
Those anyone have a configuration guide for all re-fx or to a part of it?
Kind Regards
MartaSAP Note: 1003497 - Release note about integrating RE-FX with PSCD.
-
Make all controls inside a Groupbox or Panel unusable without disabling them
Hello !
I'm using Vb.net 2013 , NET 4.0.
I'm trying to make all the controls inside a Groupbox ( or Panel) , unusable by users if a condition is true.
This is the code that I'm using :
Class NW
Inherits NativeWindow
Public Sub New(hwnd As IntPtr)
AssignHandle(hwnd)
End Sub
Const WM_NCHITTEST As Integer = &H84
Protected Overrides Sub WndProc(ByRef m As Message)
If m.Msg = WM_NCHITTEST Then
Return
End If
MyBase.WndProc(m)
End Sub
End Class
Dim nwss As List(Of NW) = Nothing
Public Sub block_area(flag As Boolean)
If flag = True AndAlso IsNothing(nwss) Then
nwss = New List(Of NW)()
For Each c As Control In GroupBox1.Controls
nwss.Add(New NW(c.Handle))
Next
Else
If flag = False And (Not IsNothing(nwss)) Then
For Each nw As Object In nwss
nw.ReleaseHandle()
Next
nwss = Nothing
End If
End If
End Sub
The problem is that this code works for all controls , except the TextBox and DateTimePicker . These 2 controls remain always clickable and editable so usable by users.
What can I do ?
Thank you !Ok , friend , if you don't like this question , you can close it anytime. Next time when I need to make a question , I will be careful to do more hard questions like : " What will be the final result of a=1 a=a+1" . This is pure VB.net ,
I think.
I'm sorry if it upsets you that your code will not work as intended. Everyone here is just trying to help you understand that there is no good solution to your problem from a managed code perspective in Windows Forms. The best answers are to use a different
presentation system or to spin your own custom control at the Win32 level (or buy one from someone else who has already done all of that work). The next bester answer is to fudge it with an image that you capture and update as appropriate.
Reed Kimble - "When you do things right, people won't be sure you've done anything at all"
ok , can you only give me a simple answer : What is the WM code that has to do with pressing keys from keyboards in a control ? I try to modify my code if you help me with this. Thank you !
Hello Friend Here is my sample - very elementary, please make more good:
Public Class clsControl
Inherits Control
Public actualControl As Control
Private Property hiddenLock As Boolean = False
Public Property lock As Boolean
Get
Return hiddenLock
End Get
Set(value As Boolean)
If value Then
Dim _bmp As New Bitmap(actualControl.Width, actualControl.Height)
actualControl.DrawToBitmap(_bmp, actualControl.ClientRectangle)
actualControl.Enabled = False
actualControl.Visible = False Me.BackgroundImage = _bmp
Me.Controls.Remove(actualControl)
Else
actualControl.Enabled = True
actualControl.Visible = True
Me.Controls.Add(actualControl)
Me.BackgroundImage = Nothing
End If
hiddenLock = value
End Set
End Property
Public Sub New(ByRef _control As Control)
actualControl = _control
Me.Controls.Add(actualControl)
actualControl.Location = New Point(0, 0)
actualControl.Visible = True
End Sub
End Class
'FORM1 CODE
Private _c As clsControl
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim _txt As New TextBox
_txt.Size = New Size(100, 20)
_txt.Visible = True
_c = New clsControl(CType(_txt, Control))
Me.Controls.Add(_c)
_c.Size = _txt.Size
_c.Visible = True
End Sub
Private Sub Form1_Click(sender As Object, e As EventArgs) Handles Me.Click
_c.lock = Not _c.lock
End Sub
Enjoy friend I spent time to make it work. -
Set initial value for numerical control
Hello LV users,
I have a VI that is used to initialize some experimental equiptment. It passes on a cluster of ten or so numerical control DBL integers as parameters. Everytime I open the programe the values are reset back to zero and I have to enter the values back in. Is there any way to set default values for the controls so I do not have to change them everytime I open the program.
Thanks
Solved!
Go to Solution.Wowden,
If you want to set default values for multiple numeric control's in your cluster in one go,
-Type in the desired default values
- Right click on your cluster, browse to 'data operations'
- Choose 'Make current values default.
Similarly, if you need to set defaults for multiple clusters or multiple controls on your front panel,
- Choose 'Edit' in the menu
- Choose "make current values default' (This sets defaults for all controls/constants etc. in one go)
RaVI -
Hi
I have some 16 ssis packages. source Db and destination Db for these packages are common. I am calling these child packages in a master package.
I want to use only one XML config file for this master.
How do i use same for all child packages?
and can i do it with parent package variable?I created a master package with a variable master, and in value i have entered the configuration file path.
Hi vjp dinu,
You should create variables in the parent package to pass values to variables in each child package rather than pass the file path of the XML Configurations file of the parent package.
As Visakh mentioned, you can achieve your goal by creating corresponding variables in the parent package for each child package, and enable Package Configurations for the parent package so that you can control the values through the XML Configurations file
for the variables of the parent package.
Supposing there is a variable FilePath in child package 1, a variable ServerName in child package 2, then, we need to create two variables pFilePath, pServerName in the parent package. After configuring the Parent package variable in each child package (e.g.
mapping pFilePath to FilePath, pServerName to ServerName), you can enable XML Configurations for the parent package, and expose the value property for both pFilePath and pServerName variables. In this way, you can modify the XML Configurations file of the
parent package and the specified values will passed to the child packages.
Reference:
http://microsoft-ssis.blogspot.com/2011/06/passing-variables-from-parent-package.html
Regards,
Mike Yin
TechNet Community Support
Maybe you are looking for
-
Print to a PDF in Acrobat Pro XI Mac
I have a specific workflow where I want to print the current view of a pdf file (typically a zoomed in view of a 30"x42" architectural sheet) to a pdf file (typically an 8 1/2" x 11" sheet). I've never had a problem with this workflow when using the
-
Hi, We have cProject documents linked to DMS (different systems). Now we need when a document is created at item level is stored in DMS ( different systems). Is it possible? Thanks, Sara
-
How do I get slides to print full size? They are currently printing with speaker notes
Trying to print my keynote presentation and the slide printouts are being shrunk to appropriate size when using speaker notes. Can someone help me get the settings resized to print full size?
-
Thanks SophiaW! Just clearing the data solved the problem! I didn't think it would be so simple
-
I want to deploy an Airport in an existing network address space of 10.90.8.0. The default wireless dhcp address space is 10.0.1..0. Can I change that default or must I reassign all ip address to conform with the Airport default?