Thread: General

Easytrieve MASK - why does the output file still look packed?

Started by Omar • user3 replies173 viewsLast activity 2 weeks ago
Post #1
0 votes
Omar
Reputation
155
Posts: 12
Joined: Jan 7, 2025, 10:05 AM
Posted: Jul 30, 2026, 10:28 AM

Defined MASK ('ZZZZZZZ.99-') on a packed field. DISPLAY looks nice. PUT to a flat file still writes packed garbage.

Is MASK display-only?

Post #2
1 votes
Elena
Reputation
391
Posts: 19
Joined: Apr 18, 2024, 9:30 AM
Posted: Jul 30, 2026, 12:28 PM

MASK is for printing / DISPLAY / REPORT. It does not unpack the value when you MOVE or PUT to a non-printer file.

Move to a numeric display (N) field first if you need readable bytes on disk.

Post #3
0 votes
Omar
Reputation
155
Posts: 12
Joined: Jan 7, 2025, 10:05 AM
Posted: Jul 30, 2026, 4:28 PM

Moved to W 11 N 2 then PUT. Looks right in the browse now.

You must be signed in to reply to this thread