plonq: (Fark Off Again)
[personal profile] plonq
I had a very simple task that I wanted to achieve this morning; I needed to set up Syncsort to filter records based on a packed decimal value. Having spent the past 90 minutes surfing various Q&A sites, and reading documentation on the vendor's site, and trying one solution after another, I finally decided to try something obvious:

"INCLUDE COND=(85,4,PD,EQ,4905752)"

None of the help sites suggested because it didn't involve converting the value to ASCII or HEX or EBCDIC before seeing if it was the value I wanted. All the solutions waxed on about signed digits, and hex conversion, and leading zeros and the like. All they really needed to say was, "Ensure you set the value type to PD for Packed Decimal, and don't put the filter value in quotes because it's a number, not text."

The Internet is a great resource, and it is often a great help in my work, but it can be frustrating at times to see that it is full of people who over-think this stuff as badly as I do.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

August 2025

S M T W T F S
     12
3456789
10111213141516
171819202122 23
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 7th, 2026 12:15 pm
Powered by Dreamwidth Studios