I have a text file (something.txt) that was created from our mainframe with the following copybook:
var1-A 9(4)
var2-B X(02)
var3-C S9(7)V9(2) COMP-3
var4-C S9(11)V9(2) COMP-3
var5-C S9(13)V9(2) COMP-3
I know that VAR1-A is a 4 digit number, no decimals.
VAR2-A is a two character string.
Question 1) What are the remaining variable types,
Question 2) How do I know how many bytes they are taking up on the record? That is, their starting and ending positions (field width), and finally,
Questions 3) How can I uncompress them using VBA?
Thanks for the help.
var1-A 9(4)
var2-B X(02)
var3-C S9(7)V9(2) COMP-3
var4-C S9(11)V9(2) COMP-3
var5-C S9(13)V9(2) COMP-3
I know that VAR1-A is a 4 digit number, no decimals.
VAR2-A is a two character string.
Question 1) What are the remaining variable types,
Question 2) How do I know how many bytes they are taking up on the record? That is, their starting and ending positions (field width), and finally,
Questions 3) How can I uncompress them using VBA?
Thanks for the help.