I ended up doing the following and it works:
java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyyMMdd" );
String sPaymentDueDate = INBOUND;
java.util.Date CovertDate = sdf.parse(sPaymentDueDate);
outboundsets(CovertDate);
Thanks for all your help!
Hi,
What is the syntax to search for a phrase inside of a file?
for example if I want to search for First name in several files in on the server under root?
I'm Trying add an .edi extenion to the file that originally looks like this: i.gtp.030206065504
I would like it to look like this: i.gtp.030206065504.edi
When using this code Im getting the error: Cannot rename *gtp.* to *gtp.*edi:
This is my code:
OLDSUFFIX=
NEWSUFFIX=edi
for FILES in...
Here is the code:
I would like to connect 1 time only because when running this code is opening and closing the connection for every file in the control file (the list of directories). any suggestions
export TERM=vt100
CurrDate=`date +%Y%m%d%H%M%S`
Logfile=/home/Log.$CurrDate...
Hi,
I'm new to unix and I'm was wondering if anyone might know how to do the following:
1.find files with *in extension in over 20 directories on Server A
2.FTP these files to 20 seperate directories on to Server B (where the script is running)
I'm interested in using the find command if I...
Hi,
I'm new to unix and I'm was wondering if anyone might know how to do the following:
1.find files with *in extension in over 20 directories on Server A
2.FTP these files to 20 seperate directories on to Server B (where the script is running)
I'm interested in using the find command if I...
My administrator had to install, I think I had permission issues more than anything.
I sent him this link if he had questions or issues.
http://www.perlmonks.org/index.pl?node_id=128077
I Fixed it with this:
########################################## TIME STAMP INFORMATION #######################################
$yesterday = time() - 86400; # 86400 is num seconds in 1 day
($sec, $min, $hours, $day_of_month, $month, $year , $wday, $yday, $isdst) = localtime($yesterday)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.