How do you add trailing blanks to a flat file. I have a MF cobol program that creates a fixed length record of 300 characters. The last 60 characters is an all blank field.
I have used filler with value spaces, move spaces to the field
or move " " to the field but the created file does not contain the trailing blanks.
I know the question can be how important is it? It's just a field with nothing in it. Our client does have a purpose with it and I'm at a loss on how to deliver.
This used to work on AS400 but since we are migrating to Sun Solaris (unix) this seem to be an impossible task.
The only thing I can think of is embed the record with CR/LF characters at the end of each record but I have no idea on how to do that in micro focus cobol.
Thanks to any help.
I have used filler with value spaces, move spaces to the field
or move " " to the field but the created file does not contain the trailing blanks.
I know the question can be how important is it? It's just a field with nothing in it. Our client does have a purpose with it and I'm at a loss on how to deliver.
This used to work on AS400 but since we are migrating to Sun Solaris (unix) this seem to be an impossible task.
The only thing I can think of is embed the record with CR/LF characters at the end of each record but I have no idea on how to do that in micro focus cobol.
Thanks to any help.