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

Running ISPF "EDIT" in batch


IBM Mainframe Forums -> TSO/ISPF
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
satya12

New User


Joined: 25 Apr 2006
Posts: 32
Location: India

PostPosted: Thu May 18, 2006 11:16 pm
Reply with quote

Hi All

Have anybody tried running ISPF "EDIT" command using IKJEFT01 in batch.I am getting below error and job is abending with RC=990

SYSTIN has below command
PROFILE PREFIX(my user id)
ISPSTART CMD(%PANTHR)

PANTHR (REXX)

/*rexx*/
ADDRESS ISPEXEC "EDIT DATASET('dataset to be edited')"
EXIT

error message in job logs:
ISPP330 BDISPMAX exceeded -/-100 displays exceeded in batch mode on panel.

My goal here is when the job comletes the specifed dataset should be thrown on screen just like it does when you execute the rexx code online.

Any help regarding this is much appreciated.

Thanks
Satya
Back to top
View user's profile Send private message
antonrino.b

New User


Joined: 10 Jan 2006
Posts: 76
Location: Germany

PostPosted: Fri May 26, 2006 1:49 pm
Reply with quote

Hi satya,

Even I too got the same error message while running an ISREDIT macro in batch. I couldnt find the reason for this error message.

But I found that the BDISPMAX parameter can be set to a high value so that we could overcome this error.



Quote:
For batch mode, BDISPMAX specifies the maximum number of displays that can
occur during a session. This number includes the total of all SELECT
PANEL calls, plus all DISPLAY and TBDISPL calls (with or without panel
name). This number does not include redisplays related to the .MSG
control variable. The largest number that can be specified is
999999999. The batch default value is 100. This parameter is ignored
when not running in batch mode.


Try running the JCL again by adding the following line

Code:
ISPSTART CMD(%PANTHR) BDISPMAX(app-high-value)   


For more info, please look at Dialog Developer?s Guide and Reference.

Please let me know if you get more info regarding this.
Back to top
View user's profile Send private message
antonrino.b

New User


Joined: 10 Jan 2006
Posts: 76
Location: Germany

PostPosted: Sun May 28, 2006 2:17 pm
Reply with quote

app-high-value should be number less than or equal to 999999999. Sorry I forgot to mention that.

Thanks and Regards,
Antu
Back to top
View user's profile Send private message
ignich7

New User


Joined: 02 Nov 2005
Posts: 66

PostPosted: Thu Mar 29, 2012 7:21 pm
Reply with quote

I had this exact issue.. adding "ISREDIT END" or "ISREDIT CANCEL" at the end of the macro prevents it from looping and " -/-100 displays exceeded " message.

Sample..
/*REXX*/
ADDRESS ISPEXEC
SAY "START OF THE MACRO. . . . "
"ISREDIT MACRO"
"ISREDIT X ALL"
"ISREDIT F ALL XX"
"ISREDIT DEL ALL X"
SAY "END OF THE MACRO. . . ."
"ISREDIT SAVE"
"ISREDIT END"
EXIT
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Mar 29, 2012 7:36 pm
Reply with quote

Er... thanks for letting us know. I'm not sure the original TS is interested after six years have passed. You make get "the usual" shortly...

EDIT: I was going to question why this is in SMS & VSAM, but that is something I can hardly blame you for, I discovered. It's possible you were still at school at the time that that happened :-)
Back to top
View user's profile Send private message
ignich7

New User


Joined: 02 Nov 2005
Posts: 66

PostPosted: Wed Apr 11, 2012 2:09 am
Reply with quote

Hi Bill,
I did not reply to the one who posted this question. I replied for those who may have this issue and still looking for an answer.

THX.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
Search our Forums:

Back to Top