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 MrSpock » Sat Feb 05, 2011 2:32 am

The return-code of 20 on the 'ISREDIT MACRO' statement is a problem.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

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

 

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

Postby Akatsukami » Sat Feb 05, 2011 2:35 am

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?
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1053
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

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

Postby MrSpock » Sat Feb 05, 2011 2:42 am

They're the same. Personally, I prefer the first format.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

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

Postby Akatsukami » Sat Feb 05, 2011 2:42 am

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.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1053
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

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

Postby enrico-sorichetti » Sat Feb 05, 2011 3:43 am

ADDRESS ISPEXEC 'LMOPEN DATAID('DATA1') OPTION(INPUT)'
SAY "OPEN SUCCESSFUL!"


how did You determined that the open was successful ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

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

Postby expat » Sat Feb 05, 2011 4:12 pm

Are you running batch or foreground ?
expat
 
Posts: 382
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 1 time

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

Postby prino » Sat Feb 05, 2011 7:43 pm

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
.
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 MrSpock » Sat Feb 05, 2011 8:59 pm

That was my thought as well, but according to a previous post:

I run it with "WCHY CHY"
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

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

Postby NicC » Sat Feb 05, 2011 9:36 pm

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

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

Postby helen2000 » Mon Feb 07, 2011 10:56 pm

thank you all, I will further test today and tell you the newest result, thanks again,
helen2000
 
Posts: 80
Joined: Sat Aug 08, 2009 9:44 pm
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post