On Tue, 14 Sep 2010 11:27:44 -0500, Mark Zelden <[email protected]> wrote:
>On Tue, 14 Sep 2010 18:01:23 +0200, R.S. <[email protected]> wrote: > >>SMPWRKx statement are defined as DDDEFs, but also can be explicitly >>coded in job as /SMPWRKx DD statements. >> >>Q1: JCL DD overwrites DDDEF - True/False? >> > >Overrides (sorry to correct your English) - True > >>Q2: Actually there are separate DDDEF definitions for each zone and >>SMPWRKx are defined in GLOBAL zone as well as in TARGET zone. >>What definition is used durin APPLY processing? >>I bet that those from TARGET zone, because of SET BDY(TARGET). Is it true? >> > >Yes, TARGET. Only the DDDEFs in whatever zone you SET BOUNDARY to >are dynamically allocated when referenced by the SMP/E function you are >trying to execute. > >>Q3: What in case where there are multiple SET BDY() statements in single >>JCL step and SMPWRKx DD's are present ? Do they rule for every zone used >>in the step? >> > >Same answer as above. Each time there is a SET BOUNDARY, those are >the DDDEFs used for the functions / statements after the SET BOUNDARY. > I think I misinterpreted your question. If you are asking if JCL DDs override the entire SMP/E job step (that may include multiple SET BOUNDARY commands), then the answer is the same as #1. JCL is the final say. Mark -- Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS mailto:[email protected] Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html Systems Programming expert at http://expertanswercenter.techtarget.com/ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

