At 11:18 -0500 on 12/01/2014, John Gilmore wrote about Re: SMP/E and IDR (was: Binder SETSSI ...?):

 Shmuel was, of course, entirely correct in saying that a PUNCH or
REPRO statement is necessary to "get them into the output"; but this
surpassingly obvious observation is not very interesting.

The AINSERTs and AREADs are needed to sequence IDENTIFY  binder
control statements properly: They must follow the section---CSECT,
RSECT, or labeled-common block---to which they refer; and great care
is required in those situations in which sections are assembled in
non-contrigtuous pieces, when, e.g., such constructions as

|ALFA    CSECT
| . . .
|BETA   CSECT
| . . .
|ALFA    CSECT
| . . .

are used, as I learned to to my sorrow on another occasion.

Everyone is forgetting/ignoring the need for these commands to occur AFTER the end of the object deck. IOW: If I am in in JCL I would reference the Object Deck and then do a DD * to insert the commands. While you can use a PUNCH to generate the command during assembly there is no way (to my knowledge) to do DEFERRED PUNCH (ie: For the PUNCH output to be queued and then flushed once the END statement has been processed).

The closest method I can think of is to make the assembly a BATCH assembly where the first input is the actual code and the 2nd is the set of PUNCH Statements.

IOW:

 CSECT
 .
 .
 .
 END
 PUNCH
 .
 .
 PUNCH


John Gilmore, Ashland, MA 01721 - USA

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to