Page 1 of 1

Carriage control

PostPosted: Fri Apr 03, 2020 2:59 pm
by resh_97
the code i am reviewing is printing the carriage control instead of advancing the line.where do i check for solving this error.where is the control character defined?can somebody help with this

Re: Carriage control

PostPosted: Fri Apr 03, 2020 3:17 pm
by NicC
Show your code (the parts that declare the datasets and records) and JCL (use the code tags). Carriage control characters are byte 1 of line as you woud have discovered if you had bothered to actually read the other topic that you posted to.

Re: Carriage control

PostPosted: Fri Apr 03, 2020 6:58 pm
by NicC
Do not ask questions via private messages. No one is asking you to show data just the SELECT/ASSIGN and the related JCL. You can obfuscate any dataset names.

Re: Carriage control

PostPosted: Fri Apr 03, 2020 8:02 pm
by Robert Sample
the code i am reviewing is printing the carriage control instead of advancing the line.
What kind of printer? What does the DD look like for the file you are printing to?

Re: Carriage control

PostPosted: Sun Apr 05, 2020 11:03 pm
by resh_97
Hi Robert ,
The dd statement looks like this..well dlbl actually since it is in z/vm

dlbl xxxx,'filename',,VSAM,CAT=yyyy

Re: Carriage control

PostPosted: Mon Apr 06, 2020 1:07 pm
by NicC
That looks like your input dataset (not file). What about the information for your output DD as requested by Robert and the COBOL code for declaring the output as requested by me?