I was asked to help a colleague with a problem he was having. He had a CSV, Comma Separated Variable length record, file in the IFS, and was getting errors with a program when it tried to copy the contents of the CSV file to a DDS files. The program had been running for many years without errors, until now. Looking in joblog I could see that the copy was failing due to null values in the CSV file's columns.
How is null shown in a CSV? Normally it is when two commas are next to each other: ",,"
For this post I created a DDS file, you will not be surprised to learn that I called it TESTFILE, and it contains three fields:
01 A R TESTFILER 02 A FIELD1 10A 03 A FIELD2 5P 0 04 A FIELD3 Z |



