IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ISREDUT FIND Command not working when COB NUM is ON


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
hsk

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Tue Aug 04, 2009 12:36 pm
Reply with quote

I am having a rexx exec to find and jump to the para name in cobol pgm.

i am using : "ISREDIT FIND '"||PARA||"' 8 NEXT"

where PARA - is the para name, this command locates the starting of para and takes user to that line.

This works ok !!

But works only when i use 'NUM OFF' / 'NUM ON' ..... not sure why ?
If i try to use "NUM ON STD COB' it's not working !!!

Any thots ... or a work around may be ?
Back to top
View user's profile Send private message
hsk

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Tue Aug 04, 2009 12:42 pm
Reply with quote

ohhh , I get that ....
Code:

"ISREDIT FIND '"||PARA||"' 8 NEXT"
IF RC <> 0 THEN
  DO
    "ISREDIT FIND '"||PARA||"' 2 NEXT"
    IF RC <> 0 THEN
       DO
         ZEDSMSG = 'PARA NOT FOUND - ' PARA
         ADDRESS ISPEXEC "SETMSG MSG(ISRZ001)"
       END
  END


Still anybody have better solution .....
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Aug 04, 2009 12:48 pm
Reply with quote

You can retrieve the status of the NUM mode using the NUMBER command.

O.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Tue Aug 04, 2009 8:13 pm
Reply with quote

With NUM ON STD COBOL, maybe what used to be column position 1 is now column position 7? I remember that certain NUM options shift the ISPF screen to the right 7 positions.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
Search our Forums:

Back to Top