WRITE(1)
DISPLAY(1)
I want the first position of ‘FILE CMPRT01’ does not contain ASA characters. How to do it?
Read manual on PRINT parameter and in JCL define file as FB or VB not FBA or VBA.
Eugene (Gene) Miklovich
ADABAS/NATURAL Systems Support and DBA
Cell: 916-202-7047
Normal Hours: 8am-4pm E.T.
Please call or text if assistance needed outside these hours.
Out of Office Notice:
Fri July 4th thru Sun July 13
Please clarify what you mean by “suppress”.
. Shift each print line 1 character to the left to remove the ASA character.
. Replace the ASA characters with blanks.
. Instead of ASA characters, use blank lines to provide double and triple spacing.
When you say you want to suppress ASA characters, it really depends on what you’re trying to achieve. ASA characters are those printer control codes that get inserted as the first character of each printed line — they control things like line spacing. If you don’t want them to appear, there are a few ways to handle it. One option is to simply shift each output line one character to the left, basically removing the ASA character entirely. Another approach is to replace the ASA character with a blank space before writing the line out. If you’re using double or triple spacing, instead of relying on ASA codes like ‘0’ or ‘-’, you can just insert extra blank lines manually to get the same visual effect. Also, to prevent ASA characters from being added in the first place, you can define your output file as a regular sequential file instead of assigning it as a printer file. And if you’re working with JCL, you can add NOADV to your SYSOUT definition, which tells the system not to treat the first character as a control character. Hope that helps!