Trying to find the current week number of the year and I am trying to use dateinterval.weekofyear; however system should be returning 14 and is returning 5. Any idea as to why???
Dim nWeek As Integer = DateInterval.WeekOfYear
also tried
Dim sWeek As String = DateInterval.WeekOfYear
Want to be...
I am a "newbie" to .net and need some guidance. I want to be able to retrieve files from a windows application server and then ftp these files to another windows directory location and then attach these files in an email to send. First, can this be done and if it can be done, can someone point...
Does anyone know how to accomplish this??? I am newbie to .net and would like some assistance, either by giving me some websites where I can browse around to find some material on accomplishing this or giving me some book names to read on going about merging files into one file. It will be the...
Have files created in a VB environment and an unix environment and want to merge the files into one file using .net. I am brand new to .net and would like any assistance on getting started or if someone can let me know what book to go buy, so I can attempt to do this.
Any input would be most...
Have created a table that has data coming from a text file with dollar sign, comma and decimal points. I want to be able to just have the field be zero filled and no decimal point but keep the decimal amounts...example have $6,512.31
and want it to be 00000651231...
how can I accomplish that...
Have the following nawk script and appears the file is being truncated...
The script reads the current date, reads the input file for every occurance of BBIL and then writes out all records between each BBIL to a specific person's file; however, appears some of the records are being truncated...
Here is the code to about line 20 and no, GNU AWK , is not an option....
##
## READS THE INTERFACE FILE RECEIVED CREATES
## SEPARATE USER-ID SPECIFIC FILES FOR INTERFACE PROCESSING
##
##### WHEN ADD NEW USER: ######
## 1) ADD USER COUNT VARIABLE
## 2) ADD USER ID CHECK TO NOT...
tried your suggestions and still am receiving the ERROR 0.
The script is run daily and needs to take the day before's file and place in an archive directory. Don't want to hard code the date every day but wanted to just be able to copy the file (yesterday's)...
Any other suggestions????
Trying to run a nwk script and am receiving /scripts/EOS_INT.nwk[17]: /usr/bin/nawk: 0403-027 The parameter list is too long.
Any ideas on how to allow the nawk script to be greater than 900 lines???
Need some help on taking a file created yesterday but is processed today and moving it to an archive directory.
correctly the logic is:
cp 20*.I* /ARCHIVE/inbound/cp 20*.I* 2>> $EDILOG
but we receive:
cp: 20040218.I01: Error 0
Any ideas on how to copy the file regardless of the date...
Okay, that worked great except it didn't catch all of the situations...
Have the following:
CLM*269605*73612*542.75*WC**11^^1******EM^^^NM
should be CLM*26960573612*542.75*WC**11^^1******EM^^^NM
CLM*30750****41.91*WC**11^^1******EM^^^TX
should be CLM*30750*41.91*WC**11^^1******EM^^^TX...
Used this script to remove the asterick from the 2nd field where sometimes contains an asterick.
> awk 'BEGIN { FS=OFS="*" }
> {
> if ($1=="CLM") {
> while ( $3 !~ /^[0-9]*[.][0-9][0-9]$/ ) {
> $2=$2 $3;
> for (x=3; x<split($0,a); x++)
>...
Can anyone see what is wrong with this???
PATH_TO_FILE=/test/AUDITIN;export PATH_TO_FILE
for file in $PATH_TO_FILE/`date +%Y%m%d_I01.${uid}.RPT` do
echo "Printing $file"
lp - $LP file
done
The line prints:
printing /test/AUDITIN/20030929_I01.UUU.RPT
but then the system...
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.