Home » Infrastructure » Linux » Facing error in Shell scripting
Facing error in Shell scripting [message #499003] Sat, 12 March 2011 13:04 Go to next message
monikabhakuni
Messages: 110
Registered: September 2008
Location: India
Senior Member
Hi All,

I am new to shell scripting.
I have written a script that I am regestring as a a cocurrent program in oracle apps.
but while running it i am getting error.
Please check the file attached.

When I am running the program I am getting the error. I am attaching my code.

Best Regards,
Monika








Re: Facing error in Shell scripting [message #499004 is a reply to message #499003] Sat, 12 March 2011 13:08 Go to previous messageGo to next message
monikabhakuni
Messages: 110
Registered: September 2008
Location: India
Senior Member
I am attaching error screenshot to in this reply.

Best Regards,
Monika
  • Attachment: image001.png
    (Size: 125.03KB, Downloaded 1103 times)
Re: Facing error in Shell scripting [message #499058 is a reply to message #499003] Sun, 13 March 2011 03:24 Go to previous messageGo to next message
John Watson
Messages: 8922
Registered: January 2010
Location: Global Village
Senior Member
Are you trying to run it without passing any parameters?
Re: Facing error in Shell scripting [message #499183 is a reply to message #499058] Sun, 13 March 2011 23:42 Go to previous messageGo to next message
monikabhakuni
Messages: 110
Registered: September 2008
Location: India
Senior Member
No, I am passing parameters to it
Re: Facing error in Shell scripting [message #511193 is a reply to message #499183] Fri, 10 June 2011 01:48 Go to previous messageGo to next message
sunil mamindla
Messages: 2
Registered: June 2011
Location: India
Junior Member
Hi Monika

From "Define Variables" section you need to remove extra " ' " of Filename variable.

Instead of this existing : Filename=$filenameout''.txt'; export Filename
Use this: Filename=$filenameout'.txt'; export Filename

Enclosed the log for reference.

Regards
SuniL
Re: Facing error in Shell scripting [message #511194 is a reply to message #511193] Fri, 10 June 2011 02:03 Go to previous messageGo to next message
Michel Cadot
Messages: 68625
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Many of us can't or don't want to download files, so post them inline and post them formatted.

Regards
Michel
Re: Facing error in Shell scripting [message #511195 is a reply to message #511194] Fri, 10 June 2011 02:07 Go to previous message
sunil mamindla
Messages: 2
Registered: June 2011
Location: India
Junior Member
Michel

Thanks for communication
Previous Topic: 11gR2 create database dbca post tasks?
Next Topic: Oracle 11g R1 Installation error
Goto Forum:
  


Current Time: Thu Mar 28 13:49:09 CDT 2024