Search Results

Search: Posts Made By: victory
3,743
Posted By victory
Hi, Not all records are new lined in my...
Hi,

Not all records are new lined in my file.

few of the records are formatted and few are missing the format and moving to another line.

ex:

1abcHYD
2cdeCHN
3ghi
BLR
4jklPUN


End...
3,743
Posted By victory
UNIX file with Newlines
Hi Friends,

I have a data file with new lines.

How to remove the newlines and should be showed in one line.

I tried using the command

tr -d '\n' filename

sed 's/\n//g' file name
Ex:...
2,779
Posted By victory
Thanks for your help...This is working fine.
Thanks for your help...This is working fine.
2,779
Posted By victory
Find the directories and deleting with wild card
Hi Firends,

I have requirement like find the directories in unix after my my deployment is done.

generally my requirement as follows.

/data/common/scripts is folder and it has multiple...
9,863
Posted By victory
Ok.. I will check it Rudy..and prepare script.....
Ok..
I will check it Rudy..and prepare script..

Thanks in advance..
9,863
Posted By victory
Yes..Correct.. There may be some of the...
Yes..Correct..

There may be some of the files which has zero records(Ex:First file has data..second file doesn't have data...) when it checks for first file it's gone through but second file...
9,863
Posted By victory
Hi Rudy, I have executed the below script but...
Hi Rudy, I have executed the below script but it's checking the first file and if data found infile then it's getting executed exit 0 and coming out side without check the second file. ...
9,863
Posted By victory
Hi Rudy, Actually script given by you i...
Hi Rudy,

Actually script given by you i executed and checked the result what it is doing checking the first file if data is there then getting executed exit command and coming out.Not checking...
9,863
Posted By victory
THanks friend.. I tried it was working...
THanks friend..

I tried it was working now...

Thanks a lot..could you please provide your email ID to contact..

---------- Post updated at 09:37 AM ---------- Previous update was at 08:55...
9,863
Posted By victory
Thanks a lot friend... I will try now..
Thanks a lot friend...
I will try now..
9,863
Posted By victory
Record count checking for multiple files through for-loop
Hi Friends,

I wrote one shell script to check the record count in two files and that will send us the notification activity if found zero record count.

What i did is I created for loop and...
20,420
Posted By victory
I have written below script plz check it and...
I have written below script plz check it and correct it if any.

#!/bin/sh
count=`sqlplus $username/$password@$tnsname ($username/$password@$tnsname) << EOF
select count(*) from table;
exit;...
20,420
Posted By victory
UNIX Script required for count the records in table
Hi Friends,

I looking for the script for the count of the records in table.

and then it's containg the zero records then should get abort.

and should notify us through mail.

Can you...
2,235
Posted By victory
Delimiter count
Hi I wrote shell script for count the deleimeters and send it to reject file
which are exeeseding number of count.
But script is not working properly...

Can you please check the below script...
Forum: AIX 01-08-2013
4,638
Posted By victory
How to find number of columns in xml file?
How to find the number of columns in xml file.

i tried following command.


Code:
#!bin/ksh
cat $1 | grep -c "</mdm:attribute>"exit 0but i am not getting accurate result which is not...
1,720
Posted By victory
It's not perl script it is UNIX ibm aix.
It's not perl script it is UNIX ibm aix.
1,720
Posted By victory
Number of columns in xml file
How to find the number of columns in xml file.

i tried following command.
#!bin/ksh
cat $1 | grep -c "</mdm:attribute>"
exit 0

but i am not getting accurate result which is not matching...
33,394
Posted By victory
#!/bin/ksh echo `touch...
#!/bin/ksh
echo `touch /home/afuarc2/$i.jobstatus.txt`
for i in INT_SEQ_MST_PLM_RMS_SKU_PACK_000 INT_SEQ_MST_PIM_LEG_ORG_DIV_REG_000

do
`dsjob -logdetail SMART $EachLine >> `
done >...
33,394
Posted By victory
total we have 10 sequnce jobs. ----------...
total we have 10 sequnce jobs.

---------- Post updated 01-04-13 at 01:13 AM ---------- Previous update was 01-03-13 at 08:35 AM ----------

I want only aborted jobs status from those 10...
33,394
Posted By victory
I found the solution for display the log info by...
I found the solution for display the log info by use the following command
dsjob -logdetail <project name> <job name> >> log.txt
shows full log of the job and writing the log file as we directed....
33,394
Posted By victory
I want a script to view the complete log information of data stage job from UNIX IBM AIX.
Hi,

I am working on data stage 8.7 version and I want a script a to view the all log information of the data stage job from UNIX environment.

Can you please help me out by give the script.
...
9,201
Posted By victory
Teradata connectivity through UNIX by use bteq
Hi,

I want a script for connecting teradata to load the file to teradata table.

Can you please help me out.

Thanks in advance.
1,056
Posted By victory
Notification Activity
Actually i am working on datastage and my operating system is Unix

So I want a script in UNIX env for intimating the datastage log at the time of job abort.

Can you please help me out ..
...
Forum: AIX 07-06-2012
14,237
Posted By victory
Thanks for yours valuable reply... I will check...
Thanks for yours valuable reply...
I will check it...
Forum: AIX 07-04-2012
14,237
Posted By victory
How to find the log for executed command in IBM AIX?
In Unix If we executed any command where will generate the particluar log related to command in Unix.
Showing results 1 to 25 of 31

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