Search Results

Search: Posts Made By: mgirinath
5,609
Posted By mgirinath
convert Regular decimals to Packed decimals
Hi,

I am trying to find if there is a way to convert regular decimal values to Paced decimal values. I tried to find a c program but I could get a Packed converted to regular decimal not the...
7,169
Posted By mgirinath
Thanks It helped a lot...
Thanks It helped a lot...
7,169
Posted By mgirinath
Parameters in loop
Hi,

I am trying to write a script which will read inputs form user and process those files, I have issue reading the input parameters in a loop. Following is the script...

I run the script...
12,208
Posted By mgirinath
The above code works but it is splitting the...
The above code works but it is splitting the record if the record has space in it.



can this be fixed.
12,208
Posted By mgirinath
Columns to rows
I have a file which has values seperated by ~ as shown below and I have to achieve a column to row from this.

Incoming row is like this

How do i get the occueance of ~ and then split it into...
2,079
Posted By mgirinath
Cool Kahuna...That's right...It needs a dragon's...
Cool Kahuna...That's right...It needs a dragon's eye to find out thanks a lot...
2,079
Posted By mgirinath
while loop issue
Hi,

Following is my code and the file FILE_LIST_EXCESS.txt has 40 file names in it

while read LineIn
do

echo ${LineIn}
`ftp -vin << END_INPUT >> ${PID}_DS_GET_Log.log 2>&1
...
27,211
Posted By mgirinath
attach multiple files in email
I am trying to send multiple files as attachment in one email, I tried to search but couldn't find. Please let me know if any solutions.
7,204
Posted By mgirinath
sort on fields
Hi I have following fixed width file and I have to sort on 2 fields

ABC 111222333002555 77788
ABC 111222333004555 77788
ABC 111222333001555 77788
ABC 111222333003555 77788
ABC 111222333005555...
9,684
Posted By mgirinath
Select Record based on First Column
Hi,

I have a file with multiple records...and I have to select records based on first column....here is the sample file...

I01,abc,125,1a2,LBVI02
I01,abc,126,2b5,LBVI02...
13,177
Posted By mgirinath
sorry I should have specified it more clear... ...
sorry I should have specified it more clear...

I may also get numbers like this...

16
116
1116

all these should be populated with leading zero's and length equal to 8
00000016
00000116...
13,177
Posted By mgirinath
pad Zeros
Hi can I know command to pad Zeros to a value

I get 16 and I need to send 0000000016
2,701
Posted By mgirinath
handling date field
Hi,

Is there any way we could change the date format listed below...

date I get is 03302007 (MMDDYYYY)
I need to change it to 20070330 (YYYYMMDD)

Thanks.
5,492
Posted By mgirinath
Date Manipulation
I need to achieve the following.....I seached the forum but could not find it...

This is I have in a file...
"CH","TIA","10/27/2006",000590

I need the date in the third field to be attached...
10,563
Posted By mgirinath
adding spaces to a line
Is there any command to add spaces to a lline....say i need 50 spaces between the data like


"aaabbbccc dddeeefff"
or may be like this...
2,120
Posted By mgirinath
Text File error in email
Hi,

I am trying to send a csv and txt file as attachment from AIX using a script, csv file ssent out correctly but for txt the data comes in one line and it could not retain the same format...
3,336
Posted By mgirinath
Thanks
that worked Thanks
3,336
Posted By mgirinath
date formatting
Date format MM/DD/YYYY
required is YYYYMMDD, I tried using sed but could not get it any help please.
3,413
Posted By mgirinath
Thanks aparna, I may have not stated it...
Thanks aparna,

I may have not stated it correctly but this is what I want, I have a file where I have values seperated by a comma and have 4 rows and 4 columns (4x4 matrix)
cat file1
a,b,c,d...
3,413
Posted By mgirinath
Capturing the values of column in one parameter
Hi,

I am trying to capture the values of a column in a parameter..here is what I wanted to do...

1,2,3,4
2,3,4,1
3,4,1,2
4,1,2,3

is there any way that I could get the values of...
2,382
Posted By mgirinath
It worked, thanks a lot.
It worked, thanks a lot.
2,382
Posted By mgirinath
capturing log
Hi
below is my script which copies test file to each directory in the file and checks if the permissions are ok, but I am not able to capture the log of the output.
here is the script

#!...
2,633
Posted By mgirinath
Tried it...did not work...gives me same result...
Tried it...did not work...gives me same result any more ideas please....
2,633
Posted By mgirinath
please help ftp script issue
hi,

I have ftp script where the user name has "\" in it and my script unable to detect it....here is what I am doing...


`ftp -vin <<- FTP >> log.txt 2>&1
user ibm\user password
...
26,616
Posted By mgirinath
that worked thanks...
that worked thanks...
Showing results 1 to 25 of 68

 
All times are GMT -4. The time now is 06:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy