We have a large number of members in a PDS that we need to Add to Endevor and don't want to Add them one by one in Foreground.
Is there a way to Add them all at one time?
If the members are all the same Endevor Type, they can be Added using a batch Add job.
Log on to Endevor and from the Endevor Primary Options Panel select -
FROM ISPF LIBRARY:PROJECT ===> hlqLIBRARY ===> mlqTYPE ===> llq LIST OPTIONS:MEMBER ===> a DISPLAY LIST ===> N (Y/N)THRU MEMBER ===> 9999999
FROM OTHER PARTITIONED OR SEQUENTIAL DATA SET:
DATA SET NAME ===> 'hlq.mlq.node3.llq(*)'
------------------------------- CONFIRMATION -------------------------COMMAND ===>*************************************************************** PLEASE NOTE: ** ** ADD action requested. ** ** 60 elements have been selected ** for SCL generation. ** ** ** ** INSTRUCTIONS: ** ** Press the ENTER key to create SCL action ** statements for all elements selected. ** ** Enter END command to cancel the request. ** ***************************************************************
000001 SET STOPRC 16 .000002 ADD ELEMENT 'ASAMPLE'000003 FROM DSNAME 'hlq.mlq.llq'000004 TO ENVIRONMENT 'ENV1' SYSTEM 'ZZ' SUBSYSTEM 'TSTSUB'000005 TYPE 'COBOL'000006 OPTIONS CCID 'TESTING' COMMENTS "MASS ADD"000007 .000008 ADD ELEMENT 'BATADMIN'000009 FROM DSNAME 'hlq.mlq.llq'000010 TO ENVIRONMENT 'ENV1' SYSTEM 'ZZ' SUBSYSTEM 'TSTSUB'000011 TYPE 'COBOL'000012 OPTIONS CCID 'TESTING' COMMENTS "MASS ADD"000013 .