It's an Oracle database, and it's an alphanumeric field, not numeric, which is part of the problem. I'm simply trying to do a mod to an existing (albeit complex) Cobol program rather than try to reinvent the wheel with another procedural language.
Any more help would be appreciated.
Currently, the unix script pads spaces to the user entry, so that user enters '987654', and '987654 ' is passed to the cobol pgrm - pic x(9). Check numbers can be a maximum of 9 digits. Within the sql cursor, I have where database check number BETWEEN :first input check number AND :last...
Have Unix script where user enters data (check number range), where the check numbers can be from 1 to 9 characters, validated within the script. However, in Cobol, this is passed to fixed length variables - pic x9
My cursor uses these check numbers for a reprint process, but the database does...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.