Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Running ISPF "EDIT" in batch

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Running ISPF "EDIT" in batch
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    Post subject:
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    Post subject:
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: 65

PostPosted: Thu Mar 29, 2012 7:21 pm    Post subject: Reply to: Running ISPF "EDIT" in batch
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Thu Mar 29, 2012 7:36 pm    Post subject: Reply to: Running ISPF "EDIT" in batch
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: 65

PostPosted: Wed Apr 11, 2012 2:09 am    Post subject:
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.    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us