Carriage control
Carriage control
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
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: Carriage control
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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: Carriage control
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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- 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: Carriage control
What kind of printer? What does the DD look like for the file you are printing to?the code i am reviewing is printing the carriage control instead of advancing the line.
Re: Carriage control
Hi Robert ,
The dd statement looks like this..well dlbl actually since it is in z/vm
dlbl xxxx,'filename',,VSAM,CAT=yyyy
The dd statement looks like this..well dlbl actually since it is in z/vm
dlbl xxxx,'filename',,VSAM,CAT=yyyy
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: Carriage control
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?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Suggestions for learning about control blocks
by BigLenny » Sat Feb 12, 2022 12:22 pm » in System programming - 11
- 2860
-
by sergeyken
View the latest post
Wed Feb 16, 2022 10:19 pm
-
-
-
Control-M : Do not trigger dependent job upon force complete
by Supernuvo » Mon Nov 29, 2021 1:51 pm » in All Other Tools - 0
- 3323
-
by Supernuvo
View the latest post
Mon Nov 29, 2021 1:51 pm
-