Page 2 of 3

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

PostPosted: Sat Feb 05, 2011 2:32 am
by MrSpock
The return-code of 20 on the 'ISREDIT MACRO' statement is a problem.

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

PostPosted: Sat Feb 05, 2011 2:35 am
by Akatsukami
Given my admittedly limited experience with edit macros, ought not ISPF Edit be considered a separate environment, so that instead of writing:
'ISREDIT (DATA1) = DATAID'

one should write:
address isredit '(DATA1) = DATAID'

instead?

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

PostPosted: Sat Feb 05, 2011 2:42 am
by MrSpock
They're the same. Personally, I prefer the first format.

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

PostPosted: Sat Feb 05, 2011 2:42 am
by Akatsukami
helen2000 wrote:i POST THE FRONT REAL TIME TRACE: BUTi don't understand the meaning "L", "o", "v", could you figure out?

  • >L> indicates that a literal is being shown
  • >O> indicates that the result of a binary operation is being shown
  • >V> indicates that the value of a variable is being shown.
There are other possibilities.

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

PostPosted: Sat Feb 05, 2011 3:43 am
by enrico-sorichetti
ADDRESS ISPEXEC 'LMOPEN DATAID('DATA1') OPTION(INPUT)'
SAY "OPEN SUCCESSFUL!"


how did You determined that the open was successful ?

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

PostPosted: Sat Feb 05, 2011 4:12 pm
by expat
Are you running batch or foreground ?

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

PostPosted: Sat Feb 05, 2011 7:43 pm
by prino
Not so very wild guess, but I think you are trying to execute this macro by doing a
TSO MYMACRO nestmac
rather than
MYMACRO nestmac
.

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

PostPosted: Sat Feb 05, 2011 8:59 pm
by MrSpock
That was my thought as well, but according to a previous post:

I run it with "WCHY CHY"

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

PostPosted: Sat Feb 05, 2011 9:36 pm
by NicC
I run it with "WCHY CHY", it works well, but this year it doesn't work with "WCHY CHY", i have to run it with "TSO %WCHY CHY"


Possibly something has changed in the TSO/ISPF dataset allocations.

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

PostPosted: Mon Feb 07, 2011 10:56 pm
by helen2000
thank you all, I will further test today and tell you the newest result, thanks again,