Question on DISP=(NEW,...)
Posted: Fri May 22, 2015 5:02 pm
I was also asked if the DISP=(NEW,...) (he did not mention about the other DISP parameters) when the "memory" is allocated to dataset?
To this I asked, did you mean memory or storage? He was not sure but he insisted that I answer his question.
I said, if a COBOL program has a dataset allocated with DISP=(NEW,..) and the WRITE is not yet issued in the program, the storage is not allocated. But this confuses me more. If you have a better answer, please do share.
To this I asked, did you mean memory or storage? He was not sure but he insisted that I answer his question.
I said, if a COBOL program has a dataset allocated with DISP=(NEW,..) and the WRITE is not yet issued in the program, the storage is not allocated. But this confuses me more. If you have a better answer, please do share.