rommelit
asked on
Generate a text COBOL file from C#
Can someone help me or tell if I can generate a text file with COBOL notation from C#? I will need to dump the file to a specified location with a different name each time it is generated so it can be pulled into an older application. I have all the record layout detail but need to know where to start.
This is a bit of an explaination of the basic requirements.
COBOL notation is used. All "x" fields are considered unformatted text. Justification is usually left, but not required. "9" fields are numeric with the "v" representing an implied decimal point and "+-" representing the sign ("+" or "-"). Numeric ("9") fields are right-justified, left-zero filled. Example: 112.40 in a field with a format of 9(4)v9(3)+- should be 0112400+.
This is a bit of an explaination of the basic requirements.
COBOL notation is used. All "x" fields are considered unformatted text. Justification is usually left, but not required. "9" fields are numeric with the "v" representing an implied decimal point and "+-" representing the sign ("+" or "-"). Numeric ("9") fields are right-justified, left-zero filled. Example: 112.40 in a field with a format of 9(4)v9(3)+- should be 0112400+.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER