File Spliting problem

I have a very big log file which looks like this:

I need to split this file and create files with "+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+" as the delimiter.
The file names need to be the contents of the next line after the delimiter(FIRST_ITEM,SECOND_ITEM...so on..).

Something like this?

awk '/^\+=/{getline;close(file);file=$0;next}{print > file}' logfile

Unfortunately its throwing the below error L

Use nawk or /usr/xpg4/bin/awk on Solaris.

Regards

I am working in HP -UX.

---------- Post updated at 04:02 AM ---------- Previous update was at 03:57 AM ----------

Actually the first error was my mistake as i had a line before the delimiter.

Now the error is different which says "longer than 3,000 bytes".

Is it because the file is too large?

That's the limit of a record in awk, you can use gawk instead.
Another option is to use the fold command first to wrap the long lines. Check the man page of fold.

Regards

This is exactly what I require.
But is there any way by which I can eliminate this bytes issue?

Yes it worked!! :b: