View previous topic :: View next topic
|
Author |
Message |
ramsjha
New User
Joined: 06 Mar 2007 Posts: 4 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
ramsjha
New User
Joined: 06 Mar 2007 Posts: 4 Location: India
|
|
|
|
Can you please tell me in brief how to overcome with this problem. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
ramsjha
New User
Joined: 06 Mar 2007 Posts: 4 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
ramsjha
New User
Joined: 06 Mar 2007 Posts: 4 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
|