7428Re: [hercules-os380] RE: concatenation of unlike sequential datasets
- Mar 4, 2014
>> I do not remember such a specification, nor do I believe it is even
>> technically possible, and nor do I think it has been implemented that way.
> OPENMPRM L R4,PARM2 R4 is the MODE. 0=input 1=output
> CH R4,=H'256' Call with value?
> BL *+8 Yes; else pointer
Can you explain how that works?
But regardless, the code is not required. The C code passes a pointer:
__aopen(myfile->ddname, &mode, &myfile->recfm, &myfile->lrecl,
&myfile->blksize, &myfile->asmbuf, p);
>> Here is the "unit record" code:
>> L R5,PARM2 POINT TO MODE
>> MVC 3(1,R5),IOMFLAGS Pass (updated) file mode back
>> CLI DEVINFO+2,UCB3UREC
>> BNE NOTUNREC Not unit-record
>> OI 3(R5),IOFUREC flag unit-record
> That looks like an error, as it should have been loading PARM3.
As per above aopen call, the "mode" is the second parameter. Also I believe I have tested the unit record code as part of PDOS, where I needed to have line buffering.
- << Previous post in topic Next post in topic >>