error message:Data ID 'DATA1' not found



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

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

Postby helen2000 » Tue Feb 08, 2011 1:43 am

Which reason can cause the first statement get the return code 20? thanks,
"ISREDIT MACRO (NESTMAC) PROCESS"
helen2000
 
Posts: 80
Joined: Sat Aug 08, 2009 9:44 pm
Has thanked: 0 time
Been thanked: 0 time

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

 

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

Postby dick scherrer » Tue Feb 08, 2011 2:06 am

Hello,

Is this macro in a library concatenated to the SYSPROC or SYSEXEC?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

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

Postby helen2000 » Tue Feb 08, 2011 3:39 am

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
helen2000
 
Posts: 80
Joined: Sat Aug 08, 2009 9:44 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby prino » Tue Feb 08, 2011 3:41 am

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!
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times

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

Postby helen2000 » Tue Feb 08, 2011 3:55 am

but I run "TSO CHY" successful, why?
note: CHY is a macro.
helen2000
 
Posts: 80
Joined: Sat Aug 08, 2009 9:44 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby dick scherrer » Tue Feb 08, 2011 7:20 am

Hello,

note: CHY is a macro.
Is this an edit macro?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Previous

Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post