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...
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...
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++)
>...
Need to create a script that will take the current user id and search an audit trail directory for the current date and user id (both of these are part of the file name) and then print the file.
Audit Trail Directory has file names like:
20030924_002.UUU.RPT
20030925_I01.YYY.RPT
1) How can I...
Have a file that uses * as its field separator. Within in the file, there are is a certain type of record that is containing * where it should not be, (within a specific field).
I wanted to write a script that would read in the file and edit out the * from the field where it should not be...
Hello,
Have created a script that is to attach a text file into an email but don't think I have it coded correctly:
#!/bin/ksh
scp username@abc.com:/directory_where_file_is /tmp
if [ -e /tmp/filename.txt ];
then
uuencode /tmp/filename.txt attached_filename.txt | mail -s "Your file is...
Have file where month is part of file name, example:AAA06BBB.TXT and want to be able to change the month (in this case from 06 to 07), each month within the script, not changing filename each month manually.
Currently, some one physically changes the file
name and I want to have the script...
Want to be able to remove the trailing spaces from fixed length output records or even remove the trailing spaces from the fixed length input records. Just need to have the trailing spaces removed. Sometimes the record will contain all 512 bytes and sometimes will contain less.
Created a nawk...
Could someone explain to me the difference between more versus view??? I have a file that when viewed using more, no carriage control characters (^M) appear but when using view the carriage control characters appear.
I have been asked to clean the data up and was just going to remove the ^M but...
Created a nawk script with a field separator of space and built an output file that has many records in the file and after each record of varying lengths, the record contains ^M. Want to be able to remove those carriage returns and the blank spaces that lead up to the ^M.
The script reads many...
Have a parameter file that contains many parameters but stuck in the middle of all the parameters are the ones I need to modify. I want to be able to do this processing in a script instead of coding a program. Can anyone give me some suggestions on trying to read the parameter file and modify...
Have an input file we are reading where blanks lines exist within a record grouping and created a nawk script to read the input and then build separate output files based on user....Want to not have blank lines in file,
how can this be accomplished using nawk??? We currently use a field...
Is doing a grep to locate files in a directory where the file name contains either in mmyyyy or mmyy format, the best way to locate the files???? And if so, any suggestions on how to accomplish this???
We need to every other month, clean up files and sometimes the file names are in mmyyyy...
Hello,
I am new to using Crystal Reports but was able to create a report using CR 9, basic version. The report is generated weekly and the users do not run the report, they just need to see the output. Now a request has come along that the report is to be put to the company's intranet for the...
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.