|
|
| Author |
Message |
kamran
Active User
Joined: 01 May 2005 Posts: 52
|
|
|
|
Hi All,
I OS390 and JES2 I need to write data into the Spool such that I have had control to choose the output name dynamically under the configuration which I explain in the following:
Consider that program "B" which must be "Attached" by a long term VTAM program "A" has the duty to write some lines of data from storage into spool and each output must have reside in Spool separately with unique output name which will be chosen during the execution of program "A".
Also I would appreciate if anybody inform me whether there is any documents available for download that explains the structures of the JES2 SPOOL files.
Thanks
Kamran |
|
| Back to top |
|
 |
References
|
|
 |
ironmike
New User
Joined: 07 Aug 2005 Posts: 37
|
|
| Back to top |
|
 |
kamran
Active User
Joined: 01 May 2005 Posts: 52
|
|
|
|
Thanks for your clarify response, But what cold I do for seperation of the jobnames of the OUTPUTs.I mean that the jobname of the several outputs which will be produced during the lifetime of the task must be different from each other and have meaning full names.I have found the Macro "IAZXJSAB" with function CREATE and accually I used:
" IAZXJSAB CREATE,JOBNAME=JOBNME,USERID=USER,TYPE=SUBTASK",
and consequently wrote outputs and after that I issued:
" IAZXJSAB DELETE,TYPE=SUBTASK".
Unfortunately the jobname of output remained unchanged(the same as the started job.)
I don't know whether I have made mistake or it's impossible to have outputs with different jobnames under the same address space.
|
|
| Back to top |
|
 |
ironmike
New User
Joined: 07 Aug 2005 Posts: 37
|
|
|
|
Well, the way I read the doc on IAZXJSAB it's at the jobname (i.e., address space) level. You can't use IAZXJSAB to build output with two different job names within one address space.
Tell us more about what you are trying to do; it's probably possible, but you may have to execute some code in several address spaces to do it.  |
|
| Back to top |
|
 |
kamran
Active User
Joined: 01 May 2005 Posts: 52
|
|
|
|
Hi,
Yes in Authurized assembler macro services which I have it's documented that the function code is just READ but if you read section 4.5 of "OS/390: MVS Using the Subsystem Interface" you would see this statment:
"However, the job information that prints on the header page is associated with the job that created the data set. This ordinarily identifies the job that runs your server, not the client that requested the printout. You would probably prefer that the client's identification print rather than
the server's in order to be able to tell one client's output apart from
another's."
Also in my system which is OS390 V2.7 when I search the macro source of IAZXJSAB in sys1.maclib there I found more function like UPDATE and CREATE.Anyhow I think it must work and maybe I made this mistake that I used the macro in program "A" which is Calling program "B" which produces the output.I am going to change the configuration such that both the Macro and output generator procedure be in a single CSECT.
Regards
| ironmike wrote: |
Well, the way I read the doc on IAZXJSAB it's at the jobname (i.e., address space) level. You can't use IAZXJSAB to build output with two different job names within one address space.
Tell us more about what you are trying to do; it's probably possible, but you may have to execute some code in several address spaces to do it.  |
|
|
| Back to top |
|
 |
|
|