Edit macro @SCRPTDU Edit macro @SCRPTDU Author: David McRitchie formatted on 1995/04/01 06:54 for assistance contact: D. McRitchie DMcRitchie@hotmail.com -------------------------------------------------------------------------------- Macro name. @SCRPTDU users. PDF EDIT users particularly SCRIPT users type. Edit Macro resides in SYS1.TSOCLIST -------------------------------------------------------------------------------- @SCRPTDU Create ".du add " and ".du del " for a SCRIPT member -------------------------------------------------------------------------------- related @SCRIPT -------------------------------------------------------------------------------- The SCRIPT addenda dictionary can only accept 804 words; therefore, words cannot just be identified once for all members in a SCRIPT PDS. This edit macro will allow one to add the required ".du add" at the beginning and ".du del" at the end of a SCRIPT member. -------------------------------------------------------------------------------- ISREDIT @SCRPTDU -------------------------------------------------------------------------------- Examples: ===> @SCRPTDU followed by ===> @SCRPTD3 +------------------------------------------------------------------------------+ | Notice to SYSTECH authors of Standard Operating Procedures | +------------------------------------------------------------------------------+ | Edit the Snnnn member so that dictionary updates will be applied to the | | Snnnn member. The file actually Scripted will be the Annnn member. | | ===> @SCRPTDU | | ===> @SCRPTD3 | +------------------------------------------------------------------------------+ | Alternately use duadd edit macro on userid.Snnnn.LIST created when using SOP | | view of on-line SOP and copy back to Snnnn. | +------------------------------------------------------------------------------+ Notice: AUTOSAVE OFF is invoked Internal Aspects: 1. A dataset named userid.DUDUDU.LIST(member) is used for the SCRIPT output with SPELLCHK on. If the dataset does not exist one is automatically cre- ated by SCRIPT as VBM 255 3156 and SPACE=(CYL,(1,1,1)) you may wish to start out larger. <@SCRPTDU> 2. The created member is converted to ".du add " cards <@SCRPTD2> Since square brackets are not available, optional material is enclosed in European brackets <...>. 3. The created member is then copied back to the originating SCRIPT text li- brary as member JUNKDU. <@SCRPTDU> 4. If the member JUNKDU lost the first byte while being copied, the beginning periods are restored. ".du add " changed to ".if &locdu. ne no .du add " if Standard Operating Procedure. <@SCRPTD4> 5. A message NOTELINE is issued telling the user that they can 6. invoke the edit macro %SCRPTD3 to complete the process. This is not done automatically, changes will not occur until requested. n @SCRPTDU on