Page 1 of 1

Dynamic allocation via BPXWDYN: MODIFY

PostPosted: Mon Feb 28, 2011 4:31 pm
by Mike1304
Hello,

I try to allocate an OUTPUT statement dynamically out of a COBOL programm via BPXWDYN.

In detail, I want to give a MODIFY(####) module name.
But regarding the documentation, only MODIFY(number) is supported, not MODIFY(module-name).

But even if I code a MODIFY(0003), there is no number in the SDFS output Spool under CpyModFT.
Does this mean, that neither MODIFY(module-name) nor MODIFY(number) is supported?

Mike

Re: Dynamic allocation via BPXWDYN: MODIFY

PostPosted: Mon Feb 28, 2011 5:42 pm
by Robert Sample
From what the manual says, the MODIFY is used to specify the IBM 3800 printer character arrangement table number -- NOT a module name.

Re: Dynamic allocation via BPXWDYN: MODIFY

PostPosted: Mon Feb 28, 2011 6:56 pm
by Mike1304
but both did not work!

Why does the table number not work?
Does anybody have an idea how to set module name without using OUTADD assembler macro for the whole allocation?

Re: Dynamic allocation via BPXWDYN: MODIFY

PostPosted: Mon Feb 28, 2011 7:39 pm
by Robert Sample
Did you specify a valid, actual IBM 3800 character arrangement table number? If not -- why would you expect to give it a random number and have it work?

Re: Dynamic allocation via BPXWDYN: MODIFY

PostPosted: Mon Feb 28, 2011 8:40 pm
by Mike1304
how can I get a list of valid table numbers?

Background:
We are using a kind of exit, which works depending on die module name, but its not a real existing module name.
As BPXWDYN does not support the module name, I try to find a special (not used) table number to signal the exit, that it should react.

Re: Dynamic allocation via BPXWDYN: MODIFY

PostPosted: Mon Feb 28, 2011 10:37 pm
by Robert Sample
Check with your site support group. They would most likely be the ones to generate the 3800 charaacter assignment tables at your site.