Page 2 of 2

Re: Dynamic sql with cobol(-313 error)

PostPosted: Sun Aug 15, 2010 3:39 pm
by NicC
Edit your input file in hex or, as suggested twice, change your program to accept into a pic 9 field and move that to your binary field.

Re: Dynamic sql with cobol(-313 error)

PostPosted: Sun Aug 15, 2010 9:59 pm
by dick scherrer
Hello,

who to change INPUT to BINARY INTEGER
(i.e for 4 to 0100) like this or any other way.
There is a very big difference between being persistent and merely being stubborn.

You have already been told (multiple times) how to do what you ask - even though this is NOT a good solution. . .

Suggest you begin to read what is suggested and try those approaches. Also as i mentioned earlier, a well-managed system will not permit the use of ACCEPT in "real" code. . .

Possibly there is some reason you will not change the code to use the "input" you already have. . . :?

Re: Dynamic sql with cobol(-313 error)

PostPosted: Tue Aug 17, 2010 11:42 am
by ballaravi
why no replys :(

Re: Dynamic sql with cobol(-313 error)

PostPosted: Tue Aug 17, 2010 2:55 pm
by NicC
why no replys


I am sorry but there have been several replies. I suggest you read them and act on them first and then come back with any problems that you cannot solve by reading help screens and manuals.

Re: Dynamic sql with cobol(-313 error)

PostPosted: Wed Aug 18, 2010 12:09 am
by dick scherrer
Hello,

There have been several replies - just because you didn't get an answer you liked does not mean there were no replies. The replies you have been given are completely workable. It does require that you stop wasting time and actually implement a solution.

What you want to do is incredibly common/sinple and you have made an entire project of it :x

If you would follow any of the replies, you would already have this running.

If you are looking for someone to write the code for you, suggest you try some other forum. We will help, but not do your work for you.

Should the code be posted by anyone other than you, it will be deleted. If you want help with some code, post that and we can advise. . .

Re: Dynamic sql with cobol(-313 error)

PostPosted: Fri Aug 27, 2010 1:58 pm
by ballaravi
sorry, i didnt check the second page,the problem is sloved thanku, and sorry

Re: Dynamic sql with cobol(-313 error)

PostPosted: Fri Aug 27, 2010 11:14 pm
by dick scherrer
Good to hear it is working - thank you for letting us know :)

d