by Akatsukami » Thu Jul 12, 2012 1:07 am
priyanshu90 wrote:dick scherrer wrote:Hello and welcome to the forum,
What you are tryiing to do probably should not be done. . .
If you explain why you believe this is needed, someone may have a suggestion.
Normally for a variable block file there is always a field in the copybook for that file which has the length stored for each record. However in this case the field is blank and does not contain any value..This is why i need to use those 4 bytes
Note that this is a case where obsessing on the wrong question leads to the wrong answer being given. As Mr. Sample writes:
you can get the record length by using the RECORD VARYING clause in the FD description for the file, which gives you the same thing as if you accessed the RDW
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day