On 16/02/06, Itschak Mugzach <[EMAIL PROTECTED]> wrote:
> Are you running your edit macro in background (BDISPMAX(100))? if so,
> just call your edit with a larger number of display screens like this:
>
>  EXEC PGM=IKJEFT01,DYNAMNBR=100, PARM='ISPSTART CMD(%editmyds)
> BDISPMAX(999999999)'
>
> and, as Walt mentioned, you can specify Control list (and conlist /
> symlist)

We are running it in the background, as part of a batch job. BDISPMAX
is at the default of 100... I've not tried turning the BDISPMAX value
up, as I consistently errors when running the code. I'd like to fix it
before turning up BDISPMAX.

Things are getting weird.

If I execute the following as a batch edit macro:

ISREDIT MACRO
/*
ISREDIT EXCLUDE 'IN FORCE' ALL
ISREDIT DELETE ALL NX
ISREDIT RESET

It fails with (excuse the reflow and wrapping if it screws up):

******************************************************************************
*                                                                            *
* Command in error . : EXCLUDE IN FORCE ALL                                  *
*                                                                            *
* Invalid parameter                                                          *
* Check for misspelled keywords or too many bounds (numeric) parameters.     *
*                                                                            *
*   Error message ID . : ISRE197                                             *
*                                                                            *
*   Last return code . : 20                                                  *
*                                                                            *
*   Macro executing  . : EM#MGMLA                                            *
*                                                                            *
* Press ENTER key to terminate the macro.                                    *
*                                                                            *
*                                                                            *
*                                                                            *
******************************************************************************

However, if I change the code to

ISREDIT MACRO
/*
ISREDIT EXCLUDE 'ABC123' ALL
ISREDIT DELETE ALL NX
ISREDIT RESET

i.e. No spaces inside the quoted exclude line.

It works perfectly!

I suspected some oddball maintenance that might have been applied
recently, but both exclude commands work perfectly well, as you'd
expect them to, when issued as direct commands within an edit session.

I do believe I'm starting to lose my marbles. 4 hours looking at
perfectly good (simple) code which isn't working as it should!

--
Steve
Despair - It's always darkest just before it goes pitch black...

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to