Page 1 of 1

VSAM file in FD as IS EXTERNAL.

Posted: Wed Feb 28, 2018 6:41 pm
by Binamra
I have declared VSAM file in FD as IS EXTERNAL .. But getting compikation isaue as IS EXTERNAL Is not valid
So is thwre any COMPILER option needs to change?
Any sugestion?

[ Post made via Android ] Image

Re: VSAM file in FD as IS EXTERNAL.

Posted: Wed Feb 28, 2018 7:26 pm
by Robert Sample
No, IS EXTERNAL is not a compiler option-dependent feature. It is always available. If you had posted the actual code and error message, we could help you more. As it is, all we can do is tell you that you've coded it wrong somehow. And whether or not the data set is VSAM has no bearing upon the IS EXTERNAL clause.

Re: VSAM file in FD as IS EXTERNAL.

Posted: Tue Mar 27, 2018 5:42 pm
by Binamra
Thanks Robert. It was to do with a called program. I am not able to reproduce the issue, if I could, will share the details with you.