I seem can't find answer on this anywhere: is it possible to receive a dataset 'into' GDS? I have GDG base created and would like to receive data sent by TSO XMIT into G0002V00 generation of this GDG (doesn't exist yet). I have tried DSN(GDG.BASE(+1)), DATASET(GDG.BASE(+1)), the same with (0) just in case (though pretty sure that's not supposed to work), but none of this leads to success.
Something tells me that if I 'hardcode' the GDS name in DSN command, it will not be considered as last generation in GDG by the system. I.e. if I did TSO RECEIVE and used parameter DSN(GDG.BASE.G0002V00), it would store the data, but JCL would not 'resolve' GDG.BASE(0) as G0002V00, but rather G0001V00. I'm not positive on this, but think I've experienced this in the past.
Is it possible to receive/store data into GDG(+1) using TSO RECEIVE command at all?
Thanks in advance for any help...