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

REXX Macro Error: 'BROWSE' service not supported in batch


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
avaneendra_linga

New User


Joined: 13 Dec 2006
Posts: 73
Location: Hyderabad

PostPosted: Mon Mar 05, 2007 3:40 pm
Reply with quote

HI,

i am getting the following error when i am running macro in view mode in REXX...

it's woking fine when the file size is small but when file is bigger i am getting the following error......

"view dataset('F9340T.CYC18C.CDB.ARCHNS.D2070302') macro(archmac)"

error message:

"s->ind 'BROWSE' service not supported in the batch environment.

can anybody help on this.....
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Mar 05, 2007 4:53 pm
Reply with quote

Yes. Your region size limited you to a particular size, and when you try to VIEW a dataset which is over this size, ISPF tries to substitute the VIEW by BROWSE. BROWSE is not supported in batch.

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

New User


Joined: 13 Dec 2006
Posts: 73
Location: Hyderabad

PostPosted: Mon Mar 05, 2007 5:01 pm
Reply with quote

so how can i resolve this issue....is there any other way to do the same......
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Mar 05, 2007 5:34 pm
Reply with quote

Can you share your mission with us? May be there are other methods, but we need to know the situation.

If you have to use the VIEW service, you may try to increase your region size. In JCL, you can use the REGION parameter. For foreground processing, you have to consult your system guys.

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

New User


Joined: 13 Dec 2006
Posts: 73
Location: Hyderabad

PostPosted: Mon Mar 05, 2007 6:05 pm
Reply with quote

this was great help ofer....thx a lot.......it's working fine REGION paramter value 0M(maximum).....
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Mar 05, 2007 6:52 pm
Reply with quote

Don't rely on it. Next month your file might be twice larger....You can add "ADDRESS ISPEXEC CONTROL ERRORS RETURN" and test the RC after each statement.

O.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
Search our Forums:

Back to Top