Glenn:
Thank you for responding.
It seems my problem is not with the sorting of the variable length records. Its with the creation of the variable length records. Please see my new post.
I am having a very hard time trying to create a true variable length record using IBM COBOL on an AIX UNIX. Is this even possible. The record descriptor has the correct record length but the program or UNIX wants to place null characters in the remainder of the record up to the maximum record...
I am trying to sort a variable length file using an internal cobol sort. I am using IBM COBOL running on an AIX platform. I am getting this message:
The SORT-RETURN special register was never referenced, but the current content indicated the sort or merge operation in program SRT231 on...
I am trying to read a file into my COBOL program running on AIX that contains character and binary data. When I access the file with "Access is sequential" I can access the binary data but the character data gets hosed. When I access the file as "line sequential" the...
Problem Solved.
I changed the organization sequential statement in the select to organization is line sequential and it worked like a champ.
Thanks to all of you who responded.
Tom and Dimandja:
Thank you both for responding.
Tom: We are using IBM COBOL on a RS6000 UNIX box.
Dimandja: Yes I am sure of the location of the data file. I have checked a number of other forums and groups and the file status 35 seems to be a very common problem.
We are in the process of coverting our mainframe cobol programs to run under a AIX environment. I am having trouble opening a file. I am getting a file status 35.
The Select statement is coded as follows:
SELECT CONTROL-FILE-IN
ASSIGN TO SYS014
ORGANIZATION IS SEQUENTIAL...
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.