Author |
Message |
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18188 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 4:38 pm: |
|
Switchblade:ika dukanam moosesi weekend rest tesuko..
ekkada ba..pl/sql package lo fnd_file.put_line(fnd_file.output use chesthe adi concurrent program output lo ravatam ledu..adi fix cheyyali..adaipoyaka MD70 update cheyyali..next NACHA output generate chesthaniki inkoka pl/sql program rayali..chala work undi baa |
Switchblade
Kurra Bewarse Username: Switchblade
Post Number: 4843 Registered: 10-2004 Posted From: 71.77.5.41
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 4:30 pm: |
|
ika dukanam moosesi weekend rest tesuko..
|
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18187 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 4:23 pm: |
|
Switchblade:
ya working idi 2 days thinesindi... |
Switchblade
Kurra Bewarse Username: Switchblade
Post Number: 4842 Registered: 10-2004 Posted From: 71.77.5.41
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 4:20 pm: |
|
wikipedia link iccha choodu shebang meda.. adhi chaduvu. I think there is an explanation between using #!/bin/ksh and #! /bin/ksh naku sarigga artham kaledhu aa explanation.. neeku emaina artham avuddi emo choodu. but final ga work avutundi gaa.. enjoy
|
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18186 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 4:18 pm: |
|
yahoo...kummi dobbindi...Added extra code for some other functionality..everything is working good..thanks switch and indiaindo annailu.. |
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18185 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 4:14 pm: |
|
annai...comedy..I gave space between #! /bin/ksh everything worked good.. |
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18184 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 4:10 pm: |
|
Switchblade:idi vadithe link nunchi panichestunda?
yes. shell script is running..called a package too..worked good..but giving error at this if statment |
Switchblade
Kurra Bewarse Username: Switchblade
Post Number: 4841 Registered: 10-2004 Posted From: 71.77.5.41
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 4:08 pm: |
|
####!/bin/ksh idi vadithe link nunchi panichestunda?
|
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18183 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 4:05 pm: |
|
Switchblade:but nee env lo ekkado edo teda undi unnattu undi. ####!/bin/ksh idi nenu eppudu chodala.
#!/bin/ksh isthe link create chesina danni apps program recognize cheyyatam ledu.. FND-CP-ESP: Child: exec:: No such file or directory ani error vasthundi |
Switchblade
Kurra Bewarse Username: Switchblade
Post Number: 4840 Registered: 10-2004 Posted From: 71.77.5.41
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 3:57 pm: |
|
cool. file extension tho sambandham undakudadhu. .sh or for that matter .anything should work but nee env lo ekkado edo teda undi unnattu undi. ####!/bin/ksh idi nenu eppudu chodala.
|
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18182 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 3:53 pm: |
|
thanks switch ba..nuvvu ichina script ni seperate .sh file ga create chesi execute chesthe work ayyindi.. nenu .prog file ga create chesi ln create chesa..so ekkado thanthundi...thanks baa for the help. |
Switchblade
Kurra Bewarse Username: Switchblade
Post Number: 4839 Registered: 10-2004 Posted From: 71.77.5.41
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 3:37 pm: |
|
http://en.wikipedia.org/wiki/Shebang_%28Unix%29 more info on #!
|
Switchblade
Kurra Bewarse Username: Switchblade
Post Number: 4838 Registered: 10-2004 Posted From: 71.77.5.41
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 3:34 pm: |
|
#!/bin/ksh #! idi nee file execute cheyyataniki ye shell vadalo cheptundi.. /bin/ksh is the location of that shell to execute your script in
|
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18181 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 3:30 pm: |
|
#!/bin/ksh deeni meaning enti? naa dantlo ippati varaku adi #####!/bin/ksh ani undi. If I make that as #!/bin/ksh then the link created was not found by the program..idedo theda ga undi..motham chostha aagandi mamalu |
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18180 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 3:23 pm: |
|
anni try chesi chostha aagandi mamalu.. |
Switchblade
Kurra Bewarse Username: Switchblade
Post Number: 4837 Registered: 10-2004 Posted From: 71.77.5.41
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 3:19 pm: |
|
#!/bin/ksh ERROR_COUNT=120 echo $ERROR_COUNT if [ $ERROR_COUNT -eq 0 ] then echo "No errors" exit 0 else echo "There are error records" exit 1 fi this is working perfectly fine in ksh ante.. if loop condition lo problem ledhu nee ERROR_COUNT variable assignment lone edo problem undi anipistandi
|
Indiainfo
Celebrity Bewarse Username: Indiainfo
Post Number: 30667 Registered: 03-2004 Posted From: 71.178.106.249
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 3:17 pm: |
|
inkoakti debug cheyyataniki just error_count ki oka number assign chesi choodu remvoing ERROR_COUNT=`sqlplus -s $LOGIN <<EOF Don't use time or words carelessly. Neither can be retrieved.
|
Switchblade
Kurra Bewarse Username: Switchblade
Post Number: 4836 Registered: 10-2004 Posted From: 71.77.5.41
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 3:14 pm: |
|
if [ $ERROR_COUNT -eq 0 ]; end lo semi colon petti choodu
|
Indiainfo
Celebrity Bewarse Username: Indiainfo
Post Number: 30666 Registered: 03-2004 Posted From: 71.178.106.249
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 3:10 pm: |
|
idhi try cheyyi : ERROR_COUNT=`sqlplus -s $LOGIN <<EOF set pagesize 0 linesize 999 feedback off verify off heading off echo off SELECT COUNT(*) FROM XXKE_EMP_BANK_DETL_STG WHERE STATUS = 'ERROR' / EXIT EOF` echo $ERROR_COUNT if [[ $ERROR_COUNT -eq 0 ]]; then echo "No errors" exit 0 else echo "There are error records" exit 1 fi Don't use time or words carelessly. Neither can be retrieved.
|
Switchblade
Kurra Bewarse Username: Switchblade
Post Number: 4835 Registered: 10-2004 Posted From: 71.77.5.41
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 3:09 pm: |
|
if loop condition lo curly braces teesesi choosava?
|
Switchblade
Kurra Bewarse Username: Switchblade
Post Number: 4834 Registered: 10-2004 Posted From: 71.77.5.41
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 3:06 pm: |
|
echo $ERROR_COUNT idi pani chestunda?
|
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18179 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 3:03 pm: |
|
it is displaying the 3467 for echo $ERROR_COUNT and giving the error for the next statement |
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18178 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 3:02 pm: |
|
ERROR_COUNT=`sqlplus -s $LOGIN <<EOF set pagesize 0 linesize 999 feedback off verify off heading off echo off SELECT COUNT(*) FROM TABLE_NAME WHERE STATUS = 'ERROR' / EXIT EOF` echo $ERROR_COUNT if [ ${ERROR_COUNT} -eq 0 ] then echo "No errors" exit 0 else echo "There are error records" exit 1 fi |
Switchblade
Kurra Bewarse Username: Switchblade
Post Number: 4833 Registered: 10-2004 Posted From: 166.137.13.43
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 2:56 pm: |
|
ekkado teda undi. koddiga script post cheyyi. maybe error misleading chestundi emo
|
Indiainfo
Celebrity Bewarse Username: Indiainfo
Post Number: 30665 Registered: 03-2004 Posted From: 71.178.106.249
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 2:56 pm: |
|
motham if statement pettu Don't use time or words carelessly. Neither can be retrieved.
|
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18177 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 2:48 pm: |
|
Switchblade:
Indiainfo:
rendu work avvaledu |
Switchblade
Kurra Bewarse Username: Switchblade
Post Number: 4832 Registered: 10-2004 Posted From: 166.137.13.43
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 2:37 pm: |
|
if [ $ERROR_COUNT -eq 0 ] try cheyyi
|
Indiainfo
Celebrity Bewarse Username: Indiainfo
Post Number: 30664 Registered: 03-2004 Posted From: 71.178.106.249
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 2:37 pm: |
|
hemu ${ERROR_COUNT} -eq 0 denni mothanni inko dantlo pettu [] i mean it should be if [[${ERROR_COUNT} -eq 0]] Don't use time or words carelessly. Neither can be retrieved.
|
Vusirikai
Pilla Bewarse Username: Vusirikai
Post Number: 656 Registered: 10-2011 Posted From: 75.71.234.88
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 2:14 pm: |
|
Ravanabrahma:16 X 7..30 days..6 months
eeelekkanaa met salary chustheee ... bagaa unde anukuntaa |
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18172 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 2:07 pm: |
|
16 X 7..30 days..6 months |
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18171 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 2:06 pm: |
|
Vusirikai:saturday koodaa work chestuanraa meeruu ... met kastam pagavadeke kooda rakoodadu annaii
|
Vusirikai
Pilla Bewarse Username: Vusirikai
Post Number: 651 Registered: 10-2011 Posted From: 75.71.234.88
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 2:05 pm: |
|
saturday koodaa work chestuanraa meeruu ... met kastam pagavadeke kooda rakoodadu annaii |
Ravanabrahma
Mudiripoyina Bewarse Username: Ravanabrahma
Post Number: 18170 Registered: 06-2004 Posted From: 98.151.191.253
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, December 10, 2011 - 2:02 pm: |
|
if [ ${ERROR_COUNT} -eq 0 ] line 52: [: missing `]' ani error vasthundi I am using ksh |