Re: Batch edit of large dataset - Solved

2019-03-29 Thread Jeremy Nicoll
On Fri, 29 Mar 2019, at 17:29, Paul Gilmartin wrote: > On Fri, 29 Mar 2019 12:56:59 -0400, Jeremy Nicoll wrote: > > > >In the calling exec the rc from the (ispf) edit would be checked, because > >invoking edit might have failed, eg because of spfdsn enqueues on the > >target file. In the 'producti

Re: Batch edit of large dataset - Solved

2019-03-29 Thread Paul Gilmartin
On Fri, 29 Mar 2019 12:56:59 -0400, Jeremy Nicoll wrote: > >In the calling exec the rc from the (ispf) edit would be checked, because >invoking edit might have failed, eg because of spfdsn enqueues on the >target file. In the 'production' systems I wrote the execs usually then >slept for a few sec

Re: Batch edit of large dataset - Solved

2019-03-29 Thread Jeremy Nicoll
On Fri, 29 Mar 2019, at 16:02, Paul Gilmartin wrote: > Neat! I never became proficient with the ISPF variable pool. > > Is there any restriction on the content of ISPF variables? Special > characters? Length? > Can they be delimited strings, subject to the design deficiencies of > delimited

Re: Batch edit of large dataset - Solved

2019-03-29 Thread Paul Gilmartin
On Fri, 29 Mar 2019 07:56:36 -0500, Elardus Engelbrecht wrote: >Jeremy Nicoll wrote: > >>Remember that when an ispf edit macro starts to execute you have access to >>the underlying ispf session, and indeed underlying TSO. So change the macro >>to, for example: > >>address ispexec "vget (parmin p

Re: Batch edit of large dataset - Solved

2019-03-29 Thread Elardus Engelbrecht
Jeremy Nicoll wrote: >Remember that when an ispf edit macro starts to execute you have access to the >underlying ispf session, and indeed underlying TSO. So change the macro to, >for example: >address ispexec "vget (parmin parmuit) profile" Thanks for showing where to put the vget and vput com

Re: Batch edit of large dataset - Solved

2019-03-29 Thread Jeremy Nicoll
On Fri, 29 Mar 2019, at 07:24, Elardus Engelbrecht wrote: > Now, for my problem is, I have this macro (which is not working): > > ISREDIT MACRO (PARMIN PARMUIT) > ISREDIT RESET > ISREDIT CAPS OFF > ISREDIT CHANGE &PARMIN &PARMUIT ALL > ISRED

Re: Batch edit of large dataset - Solved

2019-03-29 Thread Elardus Engelbrecht
Paul Gilmartin wrote: >>But I have problems to pass the two arguments for the ISREDIT CHANGE command. >>It is easy (after lots of RTFM on KC! ;-D ) to do that interactively, but not >>in batch. >Where does the problem arise? Is it the TSO parser's meddling with delimited >strings? >ISPF Edit

Re: Batch edit of large dataset - Solved

2019-03-28 Thread Seymour J Metz
:58 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Batch edit of large dataset - Solved Elardus Engelbrecht wrote: >I've got a requirement where a single line in large dataset (RECFM=VB or FB >and LRECL=) needs to be edited/changed in batch. Changed >dataset is then to be used in

Re: Batch edit of large dataset - Solved

2019-03-28 Thread Paul Gilmartin
On Thu, 28 Mar 2019 06:58:36 -0500, Elardus Engelbrecht wrote: >... >I am familiar with using ISREDIT MACRO function interactively, so I first >tried out Alan Young's example in thread 'Re: JCL sample needed' posted on 19 >Feb 2016. > >But I have problems to pass the two arguments for the ISR

Re: Batch edit of large dataset - Solved

2019-03-28 Thread Elardus Engelbrecht
Elardus Engelbrecht wrote: >I've got a requirement where a single line in large dataset (RECFM=VB or FB >and LRECL=) needs to be edited/changed in batch. Changed >dataset is then to be used in next job steps. Solved! Whew! ;-) I am familiar with using ISREDIT MACRO function interactively, so I