Dynamic allocation via BPXWDYN: MODIFY



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Dynamic allocation via BPXWDYN: MODIFY

Postby Mike1304 » Mon Feb 28, 2011 4:31 pm

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
Mike1304
 
Posts: 36
Joined: Mon Feb 28, 2011 4:14 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Dynamic allocation via BPXWDYN: MODIFY

 

Re: Dynamic allocation via BPXWDYN: MODIFY

Postby Robert Sample » Mon Feb 28, 2011 5:42 pm

From what the manual says, the MODIFY is used to specify the IBM 3800 printer character arrangement table number -- NOT a module name.
Robert Sample
Global moderator
 
Posts: 3534
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 252 times

Re: Dynamic allocation via BPXWDYN: MODIFY

Postby Mike1304 » Mon Feb 28, 2011 6:56 pm

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?
Mike1304
 
Posts: 36
Joined: Mon Feb 28, 2011 4:14 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Dynamic allocation via BPXWDYN: MODIFY

Postby Robert Sample » Mon Feb 28, 2011 7:39 pm

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?
Robert Sample
Global moderator
 
Posts: 3534
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 252 times

Re: Dynamic allocation via BPXWDYN: MODIFY

Postby Mike1304 » Mon Feb 28, 2011 8:40 pm

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.
Mike1304
 
Posts: 36
Joined: Mon Feb 28, 2011 4:14 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Dynamic allocation via BPXWDYN: MODIFY

Postby Robert Sample » Mon Feb 28, 2011 10:37 pm

Check with your site support group. They would most likely be the ones to generate the 3800 charaacter assignment tables at your site.
Robert Sample
Global moderator
 
Posts: 3534
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 252 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post