SORT, change half a byte

Created on May 7, 2024, 7:02 a.m. - by Harry, Köhler


Hi, I'm not really an expert in using SORT, therefore I have a request, which I can't solve at my own. 

I want to change half of a byte in the way that the first 4 bits will become '1100' and the other 4 bits will remain as they are by using the OUTREC FIELDS= .

As I found no boolean operations within OUTREC FIELDS=, I currently have no idea how to do this... 

Thanks a lot for you help


Comments (1)

Vhc, Vaav
April 5, 2025, 1:40 a.m.

UNRELATED comment, but: MOST OF THE RECENT POSTS ON THIS SITE ARE NOW ADS WITH CRAPPY PHOTOSHOP/AI-GENERATED IMAGES. You are last of the on-topic posts/questions.

I hope you get the right answer someday.

I just came to your post because of the top reason.


Copyright 2020 by ibmmainframer. All Rights Reserved.