OS: Z/OS 10.1
Iam using the ISPF option 3.4 open the member (DELENTRY) in edit mode and delete lines from 00010 to 00045 using the DD command and then save the member.
The following is the member (DELENTRY) entry.
00010 //PSLIB1 DD DSN=ERP.E44.SQRLIST
...
...
...
00025 //PSLIB2 DD DSN=ERP.E44.SQRINC
...
...
...
00037 //PSLIB3 DD DSN=ERP.E44.SQRSRC
...
...
...
00045 //*
Is there anyway i can use JCL to do this same job (open the member, edit the member by deleting those unwanted lines, then save and exit). I would like to automate by just submitting the jcl, so that it finds this PSLIB1 and deletes until the line 00045? (The PSLIB1 starts and follows by PSLIB2, PSLIB3 etc and ends at 00045 line code).