how can i test an empty member without usin macro edit.
I tried this but it doesn't work...
X = SYSDSN('VSFGT.FTD.KNJ(VGTE)')
SAY 'X =' X
IF X ^= 'OK' THEN
DO
SAY 'EMPTY MEMBER'
END
EXIT
Thank's for your help.
X = SYSDSN('VSFGT.FTD.KNJ(VGTE)')
SAY 'X =' X
IF X ^= 'OK' THEN
DO
SAY 'EMPTY MEMBER'
END
EXIT
Your Rexx exec checks if the dataset and member in the dataset exists, but it does not determine if there is any data in the member. As MrSpock says, in order to determine if there any data in the member, your Rexx exec must actually read the member in some way.samb01 wrote:hello,
how can i test an empty member without usin macro edit.
I tried this but it doesn't work...X = SYSDSN('VSFGT.FTD.KNJ(VGTE)')
SAY 'X =' X
IF X ^= 'OK' THEN
DO
SAY 'EMPTY MEMBER'
END
EXIT
Thank's for your help.