File Master Plus "UC" line command corrupts packed fields.
search cancel

File Master Plus "UC" line command corrupts packed fields.

book

Article ID: 6458

calendar_today

Updated On:

Products

File Master Plus for IMS File Master Plus for DB2 for z/OS

Issue/Introduction

The File Master Plus "UC" line command corrupts packed fields.

Cause

I edit CUSTFILE with File Master. I use CREATE subcommand to create a sequential file names TEST1. I issue UC line command on records 1 and 11 while in CHAR mode. I CREATE file TEST2. I run a File Master Compare on the two files and notice that several fields do not match on the two records. I use File Master to view my two files. It looks like UC has corrupted packed fields in the records.

Resolution

The user's guide states that if one doesn't set a BOUNDS the default is the entire record:

UC *

Changes the contents of a record to all uppercase within the boundaries set by the BOUNDS command. If no BOUNDS command was issued, the default is the entire record.

Note: In MF mode, the fields within the boundaries must be either all EBCDIC or all UTF-16.

<END>

If one puts in a bounds value first, i.e. BOUNDS 1 50, then puts a UC in a line that has lower case data in the packed fields and they will be untouched.