Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define sysout files with format recfm(f,b,a) #352

Open
FALLAI-Denis opened this issue May 6, 2023 · 0 comments
Open

Define sysout files with format recfm(f,b,a) #352

FALLAI-Denis opened this issue May 6, 2023 · 0 comments

Comments

@FALLAI-Denis
Copy link

FALLAI-Denis commented May 6, 2023

Hi,

Various property files declared in the build-conf folder define BPXWDYN formats for sysout files.
These files are defined with a recfm(f,b) parameter.
In this case, the carriage control characters associated with file records are the machine carriage control characters, most often a non-displayable character.

The presence of non-displayable characters in a file is impractical for working with a file that normally contains only text.
Also for debug tools that work with build listings this can be problematic.

I believe it would be better if these files were defined with a recfm=(f,b,a) parameter.
In this case, the carriage control characters associated with file records are the ASA carriage control characters, which are displayable characters.

Example present in the Cobol.properties file:

cobol_printTempOptions=cyl space(5,5) unit(vio) blksize(133) lrecl(133) recfm(f,b) new

To have a displayable ASA jump code, we must declare:

cobol_printTempOptions=cyl space(5,5) unit(vio) blksize(133) lrecl(133) recfm(f,b,a) new

See:
IBM Machine Code Printer Control Characters
ASA carriage control characters

Incidentally, the USS asa command transforms the ASA carriage control characterss into classic text line breaks and page breaks.
asa - Interpret ASA/FORTRAN carriage control

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant