Page 3 of 3

Re: error message:Data ID 'DATA1' not found

PostPosted: Tue Feb 08, 2011 1:43 am
by helen2000
Which reason can cause the first statement get the return code 20? thanks,
"ISREDIT MACRO (NESTMAC) PROCESS"

Re: error message:Data ID 'DATA1' not found

PostPosted: Tue Feb 08, 2011 2:06 am
by dick scherrer
Hello,

Is this macro in a library concatenated to the SYSPROC or SYSEXEC?

Re: error message:Data ID 'DATA1' not found

PostPosted: Tue Feb 08, 2011 3:39 am
by helen2000
SURE, i did the following step before run TSO WCHY CHY,

1: allocate ddname(sysuexec) dsn(pds.CLIST) shr reuse
2: altlib activate user(exec)

NOTE: my REXX program and Macro stored in myuserID.pds.CLIST

Re: error message:Data ID 'DATA1' not found

PostPosted: Tue Feb 08, 2011 3:41 am
by prino
helen2000 wrote:Which reason can cause the first statement get the return code 20? thanks,
"ISREDIT MACRO (NESTMAC) PROCESS"


This is what happens if you try to execute an edit macro using "TSO mymacro".

For those who doubt, give the command

TSO EXECUTIL TS
followed by
TSO any-edit-macro
and look at the resulting trace output.
You cannot run an edit macro prefixing it with "TSO". Not, absolutely NOT. FULL STOP. DON'T TRY. NOT!

Re: error message:Data ID 'DATA1' not found

PostPosted: Tue Feb 08, 2011 3:55 am
by helen2000
but I run "TSO CHY" successful, why?
note: CHY is a macro.

Re: error message:Data ID 'DATA1' not found

PostPosted: Tue Feb 08, 2011 7:20 am
by dick scherrer
Hello,

note: CHY is a macro.
Is this an edit macro?