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

MaxCC=990 and BDISPMAX exceeded error


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

New User


Joined: 06 Mar 2007
Posts: 4
Location: India

PostPosted: Mon Sep 14, 2009 11:52 am
Reply with quote

Hi,
I am getting CC 990 which is due to the following error
"ISPP330 BDISPMAX exceeded -/-100 displays exceeded in batch mode on panel"
I have gone thru already posted soultion for the same problem i.e. I am putting ISREDIT "END" stmt. But it is executing with RC=20.
Please help to resolve this.
Following is my JCL code:
//SYSTSIN DD *
ISPSTART CMD(%TEST) NEWAPPL(ISR)
/*

and Rexx code for TEST:
/* REXX */
TRACE R
PARSE VALUE DATE() WITH DAY MONTH YEAR
JBCREDT = TRANSLATE(MONTH) || DAY || SUBSTR(YEAR,3,2)
JBSRCH = ""USERID()".SRCHFOR.LIST"
DSN = "'"JBSRCH"'"
ADDRESS ISPEXEC "VIEW DATASET("DSN")'
ADDRESS ISREDIT "END"
SAY RC .
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Sep 14, 2009 12:07 pm
Reply with quote

Code:
ADDRESS ISPEXEC "VIEW DATASET("DSN")'


invoking VIEW/EDIT services in batch requires that a proper edit macro be specified in order not to have any screen interaction
Back to top
View user's profile Send private message
ramsjha

New User


Joined: 06 Mar 2007
Posts: 4
Location: India

PostPosted: Mon Sep 14, 2009 4:05 pm
Reply with quote

Can you please tell me in brief how to overcome with this problem.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Sep 14, 2009 4:12 pm
Reply with quote

before wasting more time it would be better to explain what is that Yoyu are trying to do

VIEW is supposed to display on a TSO terminal/scren the content of a dataset

in batch there is no terminal/screen, so a VIEW of a dataset does not make any sense
Back to top
View user's profile Send private message
ramsjha

New User


Joined: 06 Mar 2007
Posts: 4
Location: India

PostPosted: Mon Sep 14, 2009 4:47 pm
Reply with quote

Scenario:-

I am simulating a 3.14 option using rexx in a customized format. In this i fire a TSO SEARCH from my any ISPF screen which is going to display my customized panel. Usig panel i receive the search string & PDS where to look for and create a jcl to search in batch.

When the step1 of batch job completes the second step of the job will throw the dataset that is having the search resultset.

Why throwing in batch?
As because once we submit the job online it will take some time to process the job but the execution of rexx instruction will not halt so in step 2 of job i put COND that when step is done throw the datset to user.

Now Can you please help me to make things work out.

Looking forward to response.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Sep 14, 2009 4:52 pm
Reply with quote

Quote:
Now Can you please help me to make things work out.


no, what You ask cannot be done,
an interactive TSO session and a batch whatsoever
are unrelated processes without any interaction...
just ask the user to watch for the notify message and browse manually afterwards
Back to top
View user's profile Send private message
ramsjha

New User


Joined: 06 Mar 2007
Posts: 4
Location: India

PostPosted: Mon Sep 14, 2009 5:10 pm
Reply with quote

Is there any other way wherein i can hold my rexx execution till my job gets completed then i will throw the dataset in the online rexx pgm. In our installlation the Job status & Job id couldn't be fetched as it doesn't start with our own id. We are sharing a geneic profile so Job has different naming convention ............
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Sep 14, 2009 5:14 pm
Reply with quote

Quote:
is there any other way wherein i can hold my rexx execution till my job gets completed

NO

if it were possible to have the interactive rexx wait for a batch job completion the final result would be he same as processing in foreground

the terminal/screen would be locked until the end...

the topic is sliding towards topics not eligible for discussion, it will be acted upon shortly
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Mon Sep 14, 2009 7:13 pm
Reply with quote

Quote:
...the second step of the job will throw the dataset...

Can someone define the term 'Throw'?

I am not sure what you are trying to do, but ISPF 3.4 does have a srchfor line command. Why code something different?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Sep 14, 2009 8:25 pm
Reply with quote

Hi Pedro,

Quote:
Can someone define the term 'Throw'?
Read data / write glass. . .

Another bit of slang for displaying a screen/panel. . .
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Mon Sep 14, 2009 9:54 pm
Reply with quote

This probably just my own preferences... but you will get better results if you ask with concise technical terms rather than with slang.

Why use 'throw' when 'display' is more accurate?
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 Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts ISPP330 BDISPMAX exceeded CLIST & REXX 12
Search our Forums:

Back to Top