0403-057 Syntax error at line 24 : `<' is not matched.

Error:   0403-057 Syntax error at line 24 : `<' is not matched.

Shell script :
.
.
.
sqlplus  << EOJ
.
.
.  
"some space "EOJ

Fix :

Verify that there is no space before before the  'EOJ'  or 'EOF' (Closing side)...it works.

5 comments:

  1. Excellent answer... I spent half a day to find issue... This is resolved my issue...


    Thanks a lot
    Lokesh

    ReplyDelete
  2. Superb Sandeep... I also wasted almost a day to figure this out....

    Thanks a lot for sharing the experience....

    Thanks,
    Aswathy

    ReplyDelete
  3. Thanks a bunch...wasted quite sometime trying to debug this...

    ReplyDelete
  4. Thanks a lot, Wasted almost half of my day debugging this. Thanks.

    ReplyDelete