LUEBBKEVIN
Programmer
i've been assigned a project to pull data from various rpg files where the dds has around 200 bytes. they want the output in a delimited file where each line can be only 80 bytes long. each field begins with a prefix. the typical field is constructed in this manner
*customername=variable
where anything to the left of the = is a constant and the data to the right is the variable data pulled from the files.
i have a couple methods in mind one of which involves cat and substr but that would really be labor intensive. as a twist, they also state that if the variable value is blank (all fields are char) then don't send it.
*customername=variable
where anything to the left of the = is a constant and the data to the right is the variable data pulled from the files.
i have a couple methods in mind one of which involves cat and substr but that would really be labor intensive. as a twist, they also state that if the variable value is blank (all fields are char) then don't send it.