Creating text file of SQL with the addition of counter in the Filename argument.
HelloI have a requirement for the creation of Oracle DB text files that I can achieve by ODISQLUNLOAD.
But the trickiest part is that I want to have a file name + counter Counter should start with 1 for the first file of the day, then 2,... and reset to 1 for each new date.
for example file0001, file0002, file0003, file0004,... file0100 and so on for a day.
But when I create a file on the next day, it should be created as new file0001, file0002, file0003, file0004,... file0100 and so on.
I may be able to do this using some variables but unable to think how could I achieve this.
Any help would be appreciated.
Thank you and best regards,
Mahesh
Hello Manu,
If the files are loads such as being a batch process, for example, by running a single package, you can exercise a loopback function and store the meter as a variable. It would be very similar to the blog here: https://blogs.oracle.com/dataintegration/entry/using_variables_in_odi_creatin - but you would use the #counter variable in the name of your file. Every day that the package is executed, the counter starts at 1.
Hope that answers your needs.
Enjoy!
Michael R.
Tags: Business Intelligence
Similar Questions
-
How to create a file name variable with the County and the date?
Objective: Create a file name variable with the County and the date
Error: get a lot of error. Do you know how to change my code?
Question: how to create a file name variable with the County and the date?
Mini code:
std::string * rawfilepath;
std::string * rawfilename;rawfilepath = "./shared/documents/";
RawFileName = rawfilepath + 'rawlog -' + 0 + '-.txt ';
QFile file (rawfilename);
If (file.exists ()) {}
rawfilenamecount ++;
RawFileName = "./shared/documents/rawlog-" + rawfilenamecount + "-.txt ';
}Thank you for your attention,
Thank tzander reminding me the idea. Method of cascades is not good for me because all of the kernel code is written by Native. If I change the channel to QString, I need to change a lot of codes.
Solution is below.
While (access (rawfilename, F_OK)! = - 1) {}
rawfilenamecount ++;
sprintf (format, RawFileName, rawfilenamecount);
fprintf (stderr, "file exists");
}Rawlog = fopen (rawfilename, "w"); Save the file in a specific path.
fprintf (rawlog, "System Time (ms)" ""); -
As a reporter, I provide digital transcripts safely to my clients. I have a Kodak printer and all drivers are up to date. I use WordPerfect 12 for my transcripts. E - Tran is the software used to process the transcripts. It requires one. PRN file. I save my document as a .wpd file. I click, file, print, and I check the box print to file provided. This creates the .prn format.
I then download this file... or I tried all day to do it, in the software E-Tran. It will NOT work. The file is empty. Nothing is there. I tried to create a local no port in windows for printing of file installation... no good. Error messages tell me: function page failed. ??? Help!
Hello
I suggest you to convert wpd (WordPerfect) format .prn file before trying to download it.
If the problem is not resolved, I suggest you to contact WordPerfect or the manufacturer of the software e-Tran for assistance.
-
How to create a my Signature (signature with the tablet of manufacturing) Action?
How to create a my Signature (signature with the tablet of manufacturing) Action?
I use PSCS6?
I have no problem making an action of signature if I pick a font and then type in my name,
but to make a real action of my signature seems impossible.
Hello
There is a very cool technique to do by your signature in a Photoshop brush. Once this is a brush, you can change the size and place the signature everywhere where you want.
Google "Photoshop brush signature" or something similar and you will see a lot of tutorials. Try this one:
Photoshop reference guide | Creating a custom brush Signature | Peachpit
Basically, you sign your signature on a blank piece of paper, then you scan in a JPG or TIFF file, then you open that file in PS to create a brush.
I hope this helps.
John
-
Original title: Win hardware problem. 7 PRO
Trying to install windows 7 pro 64-bit, and while files are trying to finalize a message error shows up and says windows can't handle files to work with the hardware in my computer.
The only thing I can think is that maybe the Mobo is not compatible with windows 7, do not answer on the Asrock web page.
-Asrock Fatal1ty killer FM2 + Mobo. Processor AMD Athlon X 4 860 K. RAM Corsair 2133 (executed in 1866)
Or they are corrupt, try to get a new copy and try again.
For 5 years, Microsoft made it fairly easy for users of the Windows 7 operating system to get reinstall media. If you have lost your support disc or installation retail collection; either it has been damaged or defective; You can download a copy of the edition that you have licensed from a membership site called Digital River. More recently, Microsoft ended the availability to reinstall media that you can download as a. File ISO in Digital River, which is a digital reproduction of an optical disc.
It was particularly convenient for people who could not easily get the manufacturer's recovery media, did not want to pay the fees required to get or preferred a clean configuration without the software packaged manufacturers or even a recovery partition does not work. It's easy to use, all you had to do was reinstall and reactivate using the product key located on the certificate of authenticity and download all the drivers on the manufacturers website.
Given that this option is no longer available, what are your options? See the article for more details:
How to: What are my options for Windows 7 reinstall media?
Make sure you scroll down and read the section:
What to do if you cannot get your manufacturer recovery media, refuse to use or to buy it or the Microsoft Software Recovery Website does not work?
-
Original title: Dual Boot Laptop
I want to install a second hard drive in my laptop (mSata SSD), I have two programs to install that "do not receive the", so I can create a system dual boot with the same license Windows on each disc. I can run only one at a time, and it's the same pc/laptop.
No, you can't, a second facility would be like installing on a second computer, you will need to purchase a second license.
-
How to create a user local administrator with the user root on the CV
As says the tile, how to create a user local administrator with the user root on VCS-Express. I lost the password and cannot log in as an admin user, but I can't seem to log as long as user root.
Once connect you with the root account, type in "tsh", from there, you can create the accounts of local administrators with 'xCommand AdminAccountAdd. See the reference section of command of the VCS Administrator's Guide, starting on pg 517.
If your VCS is a virtual machine, you can change the password of admin with vSphere, or if it is a hardware appliance, you can use the serial port, see pg 312 of the Administrator's guide.
-
is it possible to save files in illustrator with the trial version a month?
is it possible to save files in illustrator with the trial version a month?
Yes you can, but also easy to ask the question. Download the route and try it
-
create a new virtual machine with the default settings?
I was wondering if there was a way to create a new virtual machine with the default settings.
For example, let's say I want all new Lion VM to have 2 CPU cores. Is there a way to set this automatically? There are other parameters I want a new machine to inherit automatically, I was wondering if there is an automatic way to do this, or is it a feature request...
Thanks in advance
lerker wrote:
Just for my clarification, when you say a vm model, basically I would execute a finder copy then drag back to the VM library, right?
Yes.
On the orders of spcirpting, it would be unix commands or are there specific vmware controls that make your job easier (in Applications/VMware\ Fusion/content or elsewhere)...
IIRC, VMware Fusion 3 and later versions has an AppleScript dictionary, but it is not yet officially supported and may not be able to do what you want so, basically, only Unix Shell scripts, that's what I was referring to. For an example, see my script attached to the following response: Re: vmware - script of the creation of the vm and the operating system installation process
-
Can you help me after affects may create a visualizer that goes with the music for Winamp, Virtualdj, Dj Sofware ETC.
or y at - it a plugin to convert?
N °
Mylenium
-
Hello dear experts
I use Adobe Acrobat 9 pro extend to convert word, ppt, jepgs etc. in a PDF file.
Not if I
(1) convert a ppt in pdf: he asks-> "save under"-> converts--> opens the file
(2) convert a JPEG to PDF: it opens instantly-> file in pdf-> I need to save manual under "save under".
In both cases, I want to
My goal: "convert to pdf"-> the file is saved with the same name in pdf instantly
WITHOUT asking me "save under" + "opening the file.
Is possible and if so, how DO ?
A fast response is very very much appreciated, because I need to convert hundreds of files this evening in order to get into 1 pdf
THX and greetings from the Germany,
Julia
Try the forum for Adobe Acrobat.
-
I want to search a string in a file, but I only know the folder that the file is not what the filename is.
I want to search a string in a file, but I only know the folder that the file is not what the filename is.
Use a third party such as the free Agent Ransack research program.
-
Hi guys
Creating new files .txt in extendscript thru new file returns results by removing all the code in extend script.
Example of
-------------------
var fPerCode = 'hack ';
var myFileP = new File($.fileName);
var myFilePtS = myFileP.parent.fsName.toString ();
myFileP.open ('w');
myFileP.write (fPerCode);
myFileP.copy(myFilePtS+"\\"+"Mytools_icons"+"\\"+"name.txt");
myFileP.close ();
Alert ("path to the fullper.bat file" + "\n"+myFilePtS+"\\"+"Mytools_icons"+"\\"+"name.txt");
If you run the above code, you see the result by disabling all of the code above.
can someone help with this problem?
You have a problem that you are writing your own script file and then doing a copy...
You also toString() of unnecesery and deformities (+).
Here is a fix your code:
var fPerCode = 'hack ';
var myFileP = new File($.fileName);
var myFilePtS = myFileP.parent.fsName;
var myNewFile = new File (myFilePtS + "\\Mytools_icons\\name.txt");
myNewFile.open ('w');
myNewFile.write (fPerCode);
myNewFile.close ();
Alert ("path to fullper.bat file\n" + myNewFile.fsName);
-
Import data from text file of control of the ring.
Is it possible to import data to a text ring with labview control.
I have several definitions of register in the ring controls, but manual entry would take a lot of time.
Was wondering if there was more automatic way, I could read the values from a file.
Thank you
Jim
Using the first method gives you the ability to extend such that each column specifies a control of the ring if you need fill the multiple rings.
This example assumes that all of the three rings contain the same number of elements. If this isn't the case, you will need to create a Subvi, which removes the empty elements. [Edit - create a text file that contains a column for each ring, separated by a tab character.]
-
I have problems with the slow startup and shutdown and the appearance of the desktop with icons of different size with occasional erratic behavior and unexpected reboots which lead me to believe that I probably have a few errors or corrupted files.
The system is a gateway E6100 recently updated from XP to Vista Home Premium with upgrade software.
Is there a software out there that I can use to clean the entire system?
Hello
What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER
on this machine, including those you have uninstalled (they leave leftovers behind which can cause
strange problems).----------------------------------------------------
Follow these steps:
Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN
Enter this at the command prompt - sfc/scannow
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
generates in Windows Vista cbs.log
http://support.Microsoft.com/kb/928228Also run CheckDisk, so we cannot exclude as much as possible of the corruption.
How to run the check disk at startup in Vista
http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html==========================================
After the foregoing:
How to troubleshoot a problem by performing a clean boot in Windows Vista
http://support.Microsoft.com/kb/929135
How to troubleshoot performance issues in Windows Vista
http://support.Microsoft.com/kb/950685Optimize the performance of Microsoft Windows Vista
http://support.Microsoft.com/kb/959062
To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
reference (if you have a small box at the bottom left - show for all users, then check that).How to check and change Vista startup programs
http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.htmlA quick check to see that load method 2 is - using MSCONFIG then put a list of
those here.
--------------------------------------------------------------------Tools that should help you:
Process Explorer - free - find out which files, key of registry and other objects processes have opened.
What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
each process.
http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspxAutoruns - free - see what programs are configured to start automatically when you start your system
and you log in. Autoruns also shows you the full list of registry and file locations where applications can
Configure auto-start settings.
http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspxThere are many excellent free tools from Sysinternals
http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx-Free - WhatsInStartUP this utility displays the list of all applications that are loaded automatically
When Windows starts. For each request, the following information is displayed: Type of startup (registry/Startup folder), Command - Line String, the product name, Version of the file, the name of the company;
Location in the registry or the file system and more. It allows you to easily disable or remove unwanted
a program that runs in your Windows startup.
http://www.NirSoft.NET/utils/what_run_in_startup.htmlThere are many excellent free tools to NirSoft
http://www.NirSoft.NET/utils/index.htmlWindow Watcher - free - do you know what is running on your computer? Maybe not. The window
Watcher says it all, reporting of any window created by running programs, if the window
is visible or not.
http://www.KarenWare.com/PowerTools/ptwinwatch.aspMany excellent free tools and an excellent newsletter at Karenware
http://www.KarenWare.com/===========================================
Vista and Windows 7 updated drivers love then here's how update the most important.
This is my generic how updates of appropriate driver:
This utility, it is easy see which versions are loaded:
-Free - DriverView utility displays the list of all device drivers currently loaded on your system.
For each driver in the list, additional useful information is displayed: load address of the driver,
Description, version, product name, company that created the driver and more.
http://www.NirSoft.NET/utils/DriverView.htmlFor drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
Control Panel - device - Graphics Manager - note the brand and complete model
your video card - double - tab of the driver - write version information. Now, click on update
Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
Uninstall - REBOOT it will refresh the driver stack.Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
with their own software and drivers and all other main drivers that you have.Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
BIOS, Chipset and software updates on the site of the manufacturer of the system here.)Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
each installation.Always check in the Device Manager - drivers tab to be sure the version you actually install
presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
in particular that) so to install a driver - reboot - check that it is installed and repeat as
necessary.Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
manually by model.Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htmHow to install a device driver in Vista Device Manager
http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.htmlIf you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
Updates, that leaves about Windows updates but it will not install the drivers that will be generally
older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
get new manually if you wish.How to disable automatic driver Installation in Windows Vista - drivers
http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx===========================================
Refer to these discussions because many more excellent advice however don't forget to check your antivirus
programs, the main drivers and BIOS update and also solve the problems with the cleanboot method
first.Problems with the overall speed of the system and performance
http://support.Microsoft.com/GP/slow_windows_performance/en-usPerformance and Maintenance Tips
http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125Explorer Windows stopped working
http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/6ab02526-5071-4DCC-895F-d90202bad8b3Hope these helps.
Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.
Maybe you are looking for
-
Recently, I have restored my iPhone 5 with a backup on iOS 10. After it was over, all it read was 'Press House to upgrade' and my phone does not have a working Home button. I tried to turn it works and when I connect to iTunes, it says that I need an
-
Question about the State solid E 15 drive
I just got this laptop Amazon first day, and so far I love it. However, she supposedly has an 8 GB SSD and more 1 TB HARD drive, but I can't find any evidence of its existence. No other player is anywhere that I can see, even in disk management. My e
-
Windows phone scam
-
Not able to use my Canon Scanner model CanoScanFB650Ui with Windows 7.
I'm not able to install my scanner CanoScanFB650Ui I use Windows 7, probably compatibility issues. How can I solve the same?
-
Unable to browse the internet while connected to the VPN
Hi all.. It was working fine until yesterday morning... Since then, I am not able to browse the internet it I am connected to the VPN... I get a "Page cannot be displayed" error message... the second that I disconnect VPN, I am able to browse interne