Date and time stamp on dump & log file using EXPDP in HP-UX
Hi All,
Can someone help me with the below issue
O.S Version HP-UX B.11.31 U ia64
Oracle DB Version 11.2.0.3.0 , Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
#!/usr/local/bin/bash
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_2; export ORACLE_HOME
PATH=/u01/app/oracle/product/11.2.0/dbhome_2/bin; export PATH
mydate=`date +%Y_%m_%d_%H_%M_%S`; export mydate
ORACLE_SID=PD; export ORACLE_SID
expdp system/0@PD DIRECTORY=prod_exports DUMPFILE=FULL_EXP_PD_${mydate}.
dmp LOGFILE=FULL_EXP_PD_${mydate}.log compression=all schemas=SYSADM
991805 wrote:
Hi
Thank you very much for your reply. The problem is the time stamp is not coming on my dumpfile
So what are you getting?
Works for me:
#!/bin/bash
export ORAENV_ASK=NO
export ORACLE_SID=orcl
. oraenv
mydate=`date +%Y_%m_%d_%H_%M_%S`; export mydate
echo mydate is $mydate
expdp system/halftrack directory=data_pump_dir dumpfile=full_exp_${mydate}.dmp logfile=full_exp_${mydate}.log schemas=scott
ls -l /u01/app/oracle/admin/orcl/dpdump
2014-01-03 15:28:36
oracle:orcl$ ll
total 260
-rwx------ 1 oracle oinstall 300 Jan 3 15:27 doit
-rw-r----- 1 oracle asmadmin 116 Jan 31 2013 dp.log
-rw-r----- 1 oracle asmadmin 249856 Jan 3 15:28 full_exp_2014_01_03_15_27_34.dmp
-rw-r--r-- 1 oracle asmadmin 1974 Jan 3 15:28 full_exp_2014_01_03_15_27_34.log
Similar Messages
-
How to provide date and time stamp to the extracted file.
I 'm downloading data from DB to Flat file using GUI_DOWLOAD. whenever it is executed it is creating with a file name.
if i rerun the program the file is overwriting with the same name.
now based on the requirement how many times i executed, that many times file should be individually created and should be added with date and time stamp.
like
if when i executed at the very first time it should saved with filename, date and time.
say "Address.txt 04/05/2007 07:55:10"
When i executed it for second time it doesn't overwrite the file.
it should create a new file.
like "Address.txt 04/05/2007 07:59:20".
Please guide me the way if possible code.
Thanks in advance.Hi Vamsi,
Use FM 'F4_PROGRAM' to take file from the user .
In this case user will enter the file name. u can append date & time to that file path.
Refer this code.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SY-REPID
DYNPRO_NUMBER = SYST-DYNNR
IMPORTING
FILE_NAME = P_P_FILE.
concatenate P_FILE '04/05/2007 07:59:20' into V_FILE.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = v_file
filetype = 'ASC'
write_field_separator = 'X'
TABLES
data_tab = i_tab
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF sy-subrc = 0.
MESSAGE i002.
ENDIF.
Reward points if helpful.
Regards,
Hemant. -
How to get the most current file based on date and time stamp using SSIS?
Hello,
Let us assume that files get copied in a specific directory. We need to pick up a file and load data. Can you guys let me know how to get the most current file based on date and time stamp using SSIS?
Thanks
thx regards dinesh vvhi simon
i excuted this script it is giving error..
Microsoft SQL Server Integration Services Script Task
Write scripts using Microsoft Visual C# 2008.
The ScriptMain is the entry point class of the script.
using System;
using System.Data;
using Microsoft.SqlServer.Dts.Runtime;
using System.Windows.Forms;
namespace ST_9a6d985a04b249c2addd766b58fee890.csproj
[System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
#region VSTA generated code
enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
#endregion
The execution engine calls this method when the task executes.
To access the object model, use the Dts property. Connections, variables, events,
and logging features are available as members of the Dts property as shown in the following examples.
To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
To post a log entry, call Dts.Log("This is my log text", 999, null);
To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
To use the connections collection use something like the following:
ConnectionManager cm = Dts.Connections.Add("OLEDB");
cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
To open Help, press F1.
public void Main()
string file = Dts.Variables["User::FolderName"].Value.ToString();
string[] files = System.IO.Directory.GetFiles(Dts.Variables["User::FolderName"].Value.ToString());
System.IO.FileInfo finf;
DateTime currentDate = new DateTime();
string lastFile = string.Empty;
foreach (string f in files)
finf = new System.IO.FileInfo(f);
if (finf.CreationTime >= currentDate)
currentDate = finf.CreationTime;
lastFile = f;
Dts.Variables["User::LastFile"].Value = lastFile;
Dts.TaskResult = (int)ScriptResults.Success;
thx regards dinesh vv -
Help adding current Date and Time stamp to file name
I need help with my script adding current Date and Time stamp to file name.
This is my file name = myfile.htm
I would like to save it as = myfile.htm 8/29/2007 11:41 AM
This is my script:
<script>
function doSaveAs(){
if (document.execCommand){
document.execCommand('SaveAs','1','myfile.htm')
else {
alert("Save-feature available only in Internet Exlorer 5.x.")
</script>
<form>
<input type="button" value="Click here to Save this page for your record" onClick="doSaveAs()"
</form>
Thank youI agree, I guess I overlooked that!
I would like to save it as = myfile 8/29/2007 11:41 AM .htm
I need help with my script adding current Date and Time stamp to file name.
This is my file name = myfile.htm
I would like to save it as = myfile 8/29/2007 11:41 AM .htm
This is my script:
<script>
function doSaveAs(){
if (document.execCommand){
document.execCommand('SaveAs','1','myfile.htm')
else {
alert("Save-feature available only in Internet Exlorer 5.x.")
</script>
<form>
<input type="button" value="Click here to Save this page for your record" onClick="doSaveAs()"
</form> -
How do you date and time stamp pictures and videos using a EOS Rebel T3?
I am needing to utilize date and time stamping on videos and photos in my work. The pictures and videos must display time, a date, and reference number. I have gone through the cd, owner's manuel and software manuel and I am unclear if I can perform this function.
While this is a relatively common feature on point & shoot cameras -- where the photo is thought of as a snapshot to document a memory in a person's life, among DSLR cameras it's not very common (I don't actually know of a DSLR that does this though I don't doubt that it may exist). DSLR users are usually expecting a higher quality image -- so now the image is thought of more like art and less like a snapshot and the date/time in the corner distracts from the image. Also they tend to be more advanced users who would be able to modify the image themselves so they have little need for such a feature.
The camera does record the date & time... but it's in the EXIF data (information recorded into the image file but not displayed).
SO... there are programs that will just do this. You'll need to do a search (I found several but have never tried one so I can't vouch for them). I think there are Photoshop plug-ins that do this (assuming you have Photoshop). These programs allow you to define the info you want printed (including EXIF data such as date/time) and you get to pick the location, font, size, color, etc. and ultimately the location on the image where you'd like the info displayed. They then add the info visibly onto the image for you and most support "batch" use (e.g. drop a whole folder of images on it and they'll do them all.)
Tim Campbell
5D II, 5D III, 60Da -
Date and time stamp on signature
Is there a way to date and time stamp a signature on ios?
991805 wrote:
Hi
Thank you very much for your reply. The problem is the time stamp is not coming on my dumpfile
So what are you getting?
Works for me:
#!/bin/bash
export ORAENV_ASK=NO
export ORACLE_SID=orcl
. oraenv
mydate=`date +%Y_%m_%d_%H_%M_%S`; export mydate
echo mydate is $mydate
expdp system/halftrack directory=data_pump_dir dumpfile=full_exp_${mydate}.dmp logfile=full_exp_${mydate}.log schemas=scott
ls -l /u01/app/oracle/admin/orcl/dpdump
2014-01-03 15:28:36
oracle:orcl$ ll
total 260
-rwx------ 1 oracle oinstall 300 Jan 3 15:27 doit
-rw-r----- 1 oracle asmadmin 116 Jan 31 2013 dp.log
-rw-r----- 1 oracle asmadmin 249856 Jan 3 15:28 full_exp_2014_01_03_15_27_34.dmp
-rw-r--r-- 1 oracle asmadmin 1974 Jan 3 15:28 full_exp_2014_01_03_15_27_34.log -
Date and time stamp transfer via Firewire
Hi
Having issues with a Sony micromv camcorder transferring digital recordings via fire wire to Apple macbook- the files are transferrred without the date and time stamp on it. Any way around the problem. Thanksebigglesworth,
I too am curious about Frank's mention of the date and time removal tool.
As an aside to your comment:
I'd rather just be able to tell aperture I don't want the time stamp on the image, to remove it some how digitally, if that makes sense. You'd think it could just be backed out in some fashion.
That's impossible. Your camera made it impossible. Your camera threw out some pixel data of the real picture in favor of replacing it with yellow, white, and black pixels (or whatever color your timestamp is). Basically, the original photo information is completely lost. All you can do is smudge things (in one way or another) and make the best of it. It will never look completely right unless you use a pixel editor (which Aperture is not) and painstakingly put color in, pixel-by-pixel.
nathan -
How do you edit out the date and time stamp from a photo
How do you edit out the date and time stamp from a photo
You can blur it out with retouch
The built-in "Retouch" brush in "Edit" mode should suffice, if the background is mostly uniform, and if you set the size of the brush to slightly wider than the bar width of the letters. For example, in this picture I removed the year from the date (in the lower right corner) by using the "retouch" brush and following the contours of the letters. (the screen shot is from iPhoto '11, but iPhoto 9 should give similar results).
Regards
Léonie -
Can you remove a date and time stamp off a photo that has already been taken?
Can you remove a date and time stamp off a photo that has already been taken?
only with Photoshop or similar software that offer some clone/heal feature.
Weekend Travelers Blog | Eastern Sierra Fall Color Guide -
How do you date and time stamp iCal entries? We share an event calendar and need to know when a new event was entered into iCal.
BKBK,
Thank you for your response. That does adequately cover the
client-originated sessions, but still leaves the ability I am
looking for unavailable.
It did serve to definitively answer my most pressing
question, however, with this statement:
Note: ColdFusion cannot create a session if an initiator
application uses a SendGatewayMessage method to start an
interaction with a client, such as an SMS user. In this case, the
sending code must keep track (for example, in a database) of the
messages it sends and their destinations. When a response event
arrives, it can look up the origniatorID to determine whether it
was in response to an outgoing message.
I will play around with the Application scope to see if there
might be a workable solution there.
RLS -
How change sStart and End Date and time in the Audit log ???
Install C2S BM39SP1. Work.
Go to the: https://bmserver:8009
Open : VPN Monitor | Audit log information.
Problem - can not cahnge Date and time in the Audit Log Start(End)
How i vcan do this ?
How i can get every day stat log:
login ; date_time_login ; dtae_timie_logout ; bite_in ; bite_out
SergSerg,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
I'm a relative newbie still having issues with getting date and time stamps on my printed documents.
I use Preview, Pages, Numbers and also tend to print to PDF a lot, which I am opening in Preview.
I have found an "Insert" ability in Pages but for some reason it appears to only give me the date that I inserted the Timestamp.
Can anyone help me figure out my options in Mac for putting the following on a document:
A. DATE and TIME printed
B. NAME of document with LOCATION (I assume this is software specific?!)
Thanks for any help with this.
- JonYes, ...and I was hoping to find a solution since I sometimes have the same problem!
But I'm afraid there is none. For sure I didn't find any fxscript function returning Date&Time. At the moment the best solution I know is what you suggested, Ian: capture twice, once in FCE for editing and once in iMovie for reading Date and Time.
I'd be glad to write and share a plugin displaying date and time if somebody is able to tell me what fxscript function (if any) should I use...
Piero -
I have a 4s iphone and want to date and time stamp photos taken with the regular camera installed on the phone. Does this require a separate app?
For such to be visible, yes. Many such apps in the app store.
-
Add Date and Time Stamp to video from AVCHD folder
New to this software and forum, so I apologize if this has been asked and answered. I am trying to insert the date and time metadata from the AVCHD folder using the .mts clips. Curently I am using VaTS to stamp the video then render the clips through Power Director. I would appreciate any help on this topic. Thank you for your time
BenB, thanks for responding to both of my posts. The footage was shot using a Sony HDR-XR500 AKA consumer video camera. Date and time is not burned into the image when captured digitally. The only way to do it would be to run the video through a video capture device that basically just records what the video outputs. This solution really ***** so i'm looking for somthing more effective.
-
How can i get a copy of my ipone messages with the number, date and time stamp?
How can I get a copy of my iphone messages with the number it was sent from and the date and time stamp? Needed for court purposes.
Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
http://www.ecamm.com/mac/phoneview/
http://www.wideanglesoftware.com/touchcopy/index.php
You should probably consult your attorney to see if either of these will be acceptable.
Maybe you are looking for
-
Adobe media encoder disabled in photoshop
Hi, I am creating a .mp4 video using photoshop cc. When I go to export > render to video , the program does not let me choose any video format. The adobe media encoder option appears grayed out. Can anyone tell me why is this happening? I am using a
-
Can no longer access log files from EM(ECM11.1.1.6.0).
Full UI popup error is " Stream closed ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #4" Of course, I can't see any further errors in the logs,so I'm
-
AC Adapter for Palm m500 cradle
Wanting to reactivate my older m500, I am confused which of several of my AC chargers is the proper one. Is it the one with an output of 9V AC 1000mA?? Other information on this charger is ENG Direct Plug-in Class 2 transformer, model 41A-9-1000 EI
-
Noticed that my battery strength indicator was showing "full" much longer than what I am accustomed to after a period of use. So I: - Plugged in the sync cable thinking that might "wake it up". Nope, still showing full with the little "plug" on the b
-
Imac g5 freeses very often for no particular reason
Hi, guys, I am just frastrated! My imac g5 freeses very often for no particular reason and it takes ages for it to load when i restart it. does anybody know what may cause it and what i should do to solve the problem?