Re: [CMS-PIPELINES] punch, rscs, reader and deblock

2021-01-17 Thread Paul Gilmartin
On 2021-01-17, at 07:08:54, Rob van der Heij wrote: > > On Sun, 17 Jan 2021 at 14:48, Kris Buelens wrote: > >> Probably there still is a chance that DEBLOCK CMS will complain when the >> last meaningful record had a trailing blank. >> > > Apparently the halfword 0 is missing, or there wouldn’t

Re: [CMS-PIPELINES] punch, rscs, reader and deblock

2021-01-17 Thread Paul Gilmartin
On 2021-01-17, at 07:19:31, Kris Buelens wrote: > > Yes indeed, a bit more complicated than something like > !T: take last!Strip Trailing!F: fanin 1 0 ! > and that's what I wanted to say. > If the OP has contol of both the transmitting and receiving protocol, I suggest: "pipe strlit

Re: [CMS-PIPELINES] punch, rscs, reader and deblock

2021-01-17 Thread Alain Benvéniste
For the cases i tested this evening, i found something that covers my need : ... ! block 80 cms ! pad 80 FF ! punch pipe reader ! strfind x41 ! substr 2-* ! chop FF ! deblock cms ! ... X'FF' is used to cut records at the good length. Must not be present in the input data. x'00' is used as the fi

Re: [CMS-PIPELINES] punch, rscs, reader and deblock

2021-01-17 Thread John P. Hartmann
CMS pipelines also knows how to handle the case where the end of file marker is truncated to one byte in the last card. On 1/17/21 15:08, Rob van der Heij wrote: On Sun, 17 Jan 2021 at 14:48, Kris Buelens wrote: Probably there still is a chance that DEBLOCK CMS will complain when the last me

Re: [CMS-PIPELINES] punch, rscs, reader and deblock

2021-01-17 Thread Kris Buelens
Yes indeed, a bit more complicated than something like !T: take last!Strip Trailing!F: fanin 1 0 ! and that's what I wanted to say. Kris Buelens, --- VM/VSE consultant, Belgium --- --- Op zo 17 jan. 2021 om 15:09

Re: [CMS-PIPELINES] punch, rscs, reader and deblock

2021-01-17 Thread Rob van der Heij
On Sun, 17 Jan 2021 at 14:48, Kris Buelens wrote: > Probably there still is a chance that DEBLOCK CMS will complain when the > last meaningful record had a trailing blank. > Apparently the halfword 0 is missing, or there wouldn’t be a problem. You could strip trailing blanks from the last record

Re: [CMS-PIPELINES] punch, rscs, reader and deblock

2021-01-17 Thread Kris Buelens
Probably there still is a chance that DEBLOCK CMS will complain when the last meaningful record had a trailing blank. Kris Buelens, --- VM/VSE consultant, Belgium --- --- Op zo 17 jan. 2021 om 12:37 schreef Alain Benvéniste

Re: [CMS-PIPELINES] punch, rscs, reader and deblock

2021-01-17 Thread Alain Benvéniste
I fall into the case where strip trailing the last record only, resolved the problem. Thanks Le 17/01/2021 06:53, « CMSTSO Pipelines Discussion List au nom de Kris Buelens » a écrit : If you can't change it, I'd then perform a STRIP TRAILING only on the last record when receiving th

Re: [CMS-PIPELINES] punch, rscs, reader and deblock

2021-01-17 Thread Rob van der Heij
But the one who created the “cms blocked” fornat should terminate with x to drop the padding. If you have padding on each card, you need to unravel differently. Rob On Sat, 16 Jan 2021 at 18:13, Alain Benvéniste wrote: > Yes. The fact is that i am in the situation where i don’t have the han