Hello,
I am updating a job which executes a Natural program. The Natural program uses a DISPLAY statement to create a columned report, and I would like to add an extra two columns, but the output to the CMPRINT file will not display past the 132nd byte. I've increased the LRECL in the JCL and am using the FORMAT LS=190 in the Natural (needed to stow). Is there a PARM that can be added to the EXEC statement or is this a nucleus specific parameter that needs to be updated for the Natural program to exceed the default? Any help is appreciated!
Thanks,
Joe
Exceeding the 132 byte default for DISPLAY
-
- Posts: 1
- Joined: Wed May 10, 2017 10:25 pm
- Skillset: Natural/Adabas/CICS1
- Referer: State of Vermont
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: Exceeding the 132 byte default for DISPLAY
Have you posted a query to the Software AG support site? From what I can tell, FORMAT (1) LS=190 -- or something like that syntax -- should set the line size to 190 bytes. If it is not working for you, the SAG support people should be able to help you find out why.
- RGZbrog
- Posts: 101
- Joined: Mon Nov 23, 2009 1:34 pm
- Skillset: Natural, Adabas, Predict, Natural Security, Construct, EntireX, SPoD, NaturalONE
- Referer: SAG Developer Forum
- Location: California, USA
- Contact:
Re: Exceeding the 132 byte default for DISPLAY
Natural can handle a line size of 250 characters. I have written SYSOUT datasets of 160 characters, but I don't recall needing to go beyond that, so I can't say whether your issue is a mainframe limitation or your/user error.
(I haven't run a mainframe Natural batch job for years.)
An alternative to such a long line is to produce a multi-line report. See if the VERT keyword of the DISPLAY statement will help.

An alternative to such a long line is to produce a multi-line report. See if the VERT keyword of the DISPLAY statement will help.
- RGZbrog
- Posts: 101
- Joined: Mon Nov 23, 2009 1:34 pm
- Skillset: Natural, Adabas, Predict, Natural Security, Construct, EntireX, SPoD, NaturalONE
- Referer: SAG Developer Forum
- Location: California, USA
- Contact:
Re: Exceeding the 132 byte default for DISPLAY
OK. I tested this on a mainframe.
SYSOUT is restricting the line size. Change your JCL to send the report to a dataset, instead.
SYSOUT is restricting the line size. Change your JCL to send the report to a dataset, instead.
Code: Select all
//CMPRT01 DD DSN=MY.REPORT,
// RECFM=FBA,LRECL=191,BLKSIZE=0,
// DISP=(NEW,CATLG),etc...
-
- Similar Topics
- Replies
- Views
- Last post
-
- 2
- 2390
-
by Murali_721
View the latest post
Thu Nov 19, 2020 4:24 pm
-
- 6
- 1941
-
by sergeyken
View the latest post
Sat Jul 17, 2021 12:38 am
-
- 4
- 4790
-
by willy jensen
View the latest post
Thu Nov 12, 2020 2:40 pm
-
-
How To display the count based on a specific string?
by Chintu333 » Fri Aug 19, 2022 12:59 am » in DFSORT/ICETOOL/ICEGENER - 3
- 2134
-
by sergeyken
View the latest post
Fri Aug 19, 2022 8:52 pm
-