开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

jcl input


 

Thank you to all who helped me on my nested subroutine issue.? Made
a ton of progress on it.

New issue.... I want to include the data that my program uses in the JCL
job stream and my program will read this data for use.? I have been
trying to find information/examples of how to do it.

ex:
* $$ JOB JNM=TEST,CLASS=0,DISP=D????????????????????????????????????????
* $$ LST LST=00E,JSEP=1,CLASS=A,DISP=D????????????????????????????????
// JOB TEST?????????????????????????????????????????????????????????????
// EXEC TEST
DATA LINE ONE
DATA LINE TWO
DATA LINE THREE
/*
/&
* $$ EOJ

What I would like is for TEST to read the DATA LINE xxxx from the JCL.

The program is written in DOS/VS REL 34 ASM.

Any suggestions or comments will be welcome.

/cheers
/tom c


 

IIRC, this is pretty simple ..

you need a // ASSGN?SYSIPT,00C to assign the card reader?logical?to POWER...

Then in the assembler program, I think you have to have a DTFCD DEVADDR=SYSIPT to define the card reader. Open it and read the cards from SYSIPT.

Joe?

On Thu, Oct 13, 2022 at 9:10 AM Tom Chandler <tchandler48@...> wrote:
Thank you to all who helped me on my nested subroutine issue.? Made
a ton of progress on it.

New issue.... I want to include the data that my program uses in the JCL
job stream and my program will read this data for use.? I have been
trying to find information/examples of how to do it.

ex:
* $$ JOB JNM=TEST,CLASS=0,DISP=D????????????????????????????????????????
* $$ LST LST=00E,JSEP=1,CLASS=A,DISP=D????????????????????????????????
// JOB TEST?????????????????????????????????????????????????????????????
// EXEC TEST
DATA LINE ONE
DATA LINE TWO
DATA LINE THREE
/*
/&
* $$ EOJ

What I would like is for TEST to read the DATA LINE xxxx from the JCL.

The program is written in DOS/VS REL 34 ASM.

Any suggestions or comments will be welcome.

/cheers
/tom c


 

Joe,
Thank you very much for the info.? Just coded up a test program
and it works GREAT!!!!

You are right, very simple, but first time for me.?

Again, Thank You very much.

cheers
/tom c


On Thu, Oct 13, 2022 at 11:32 AM Joe Monk <joemonk64@...> wrote:
IIRC, this is pretty simple ..

you need a // ASSGN?SYSIPT,00C to assign the card reader?logical?to POWER...

Then in the assembler program, I think you have to have a DTFCD DEVADDR=SYSIPT to define the card reader. Open it and read the cards from SYSIPT.

Joe?

On Thu, Oct 13, 2022 at 9:10 AM Tom Chandler <tchandler48@...> wrote:
Thank you to all who helped me on my nested subroutine issue.? Made
a ton of progress on it.

New issue.... I want to include the data that my program uses in the JCL
job stream and my program will read this data for use.? I have been
trying to find information/examples of how to do it.

ex:
* $$ JOB JNM=TEST,CLASS=0,DISP=D????????????????????????????????????????
* $$ LST LST=00E,JSEP=1,CLASS=A,DISP=D????????????????????????????????
// JOB TEST?????????????????????????????????????????????????????????????
// EXEC TEST
DATA LINE ONE
DATA LINE TWO
DATA LINE THREE
/*
/&
* $$ EOJ

What I would like is for TEST to read the DATA LINE xxxx from the JCL.

The program is written in DOS/VS REL 34 ASM.

Any suggestions or comments will be welcome.

/cheers
/tom c


 

Hello Tom,
?
If you go further this way, that PDF might be useful (it was to me):
?
http://bitsavers.informatik.uni-stuttgart.de/pdf/ibm/370/DOS_VS/Rel_29_Nov73/GC33-5373-2_DOS_VS_Supervisor_and_IO_Macros_Rel_29_Nov73.pdf
?
And here's a book that you might consider buying (I did):
?
https://www.amazon.com/Dos-Assembler-Language-Kevin-McQuillen/dp/0911625313/
?
Among other things, it explains in simple terms how to perform I/O in DOS/VS assembler with files, whether they are SAM, ISAM, DAM or VSAM.
?
Cheers,
?
Rene FERLAND, Montreal


 

Rene,

Thank you, downloading the manual and looking on google for the book.

Hope you are?doing well.

cheers
/tom c


On Thu, Oct 13, 2022 at 1:08 PM René Ferland <ferland.rene@...> wrote:
Hello Tom,
?
If you go further this way, that PDF might be useful (it was to me):
?
?
And here's a book that you might consider buying (I did):
?
?
Among other things, it explains in simple terms how to perform I/O in DOS/VS assembler with files, whether they are SAM, ISAM, DAM or VSAM.
?
Cheers,
?
Rene FERLAND, Montreal


 

Joe Monk wrote:

IIRC, this is pretty simple ..

you need a // ASSGN SYSIPT,00C to assign the card reader
logical to POWER...
Actually, depending on which DOS/VS he's running, I'm not even sure that is necessary. All of the DLBL and assignments for each partition should already have been automatically made/assigned by the partition standard label and assignment PROCs that run automatically after POWER comes up and each partition is started.


Then in the assembler program, I think you have to have a DTFCD
DEVADDR=SYSIPT to define the card reader. Open it and read the
cards from SYSIPT.
OR... skip DTF use altogether and simply do your own I/O using EXCPs and CCBs and CCWs. Doing your own reader, printer and punch I/O is actually pretty easy. For I/O to tape and DASD, yeah, DTFs is the way to go. But for simple devices such as readers, printers and punches? Nah.

BUT... since he's still learning the ropes, yes, I'd recommend he stick with using DTFs for now. Doing EXCP using CCBs and CCWs is more advanced and can come later, as he becomes more skilled. There's no sense in confusing him this early in his learning. :)

--
"Fish" (David B. Trout)
Software Development Laboratories

mail: fish@...


 

René Ferland wrote:

[...]

stuttgart.de/pdf/ibm/370/DOS_VS/Rel_29_Nov73/GC33-5373-
2_DOS_VS_Supervisor_and_IO_Macros_Rel_29_Nov73.pdf
I agree with René: Having a copy of GC33-5373 "DOS/VS Supervisor and 1/0 Macros" within handy reach while learning is HIGHLY recommended. Hell, having it within handy reach even AFTER learning is highly recommended as well! ;-)

--
"Fish" (David B. Trout)
Software Development Laboratories

mail: fish@...


 

Happy it worked for ya! Keep up the learning , it takes a bit, but if you learn DOS, you'll find MVS like the cat's meow!

Joe

On Thu, Oct 13, 2022 at 12:57 PM Tom Chandler <tchandler48@...> wrote:
Joe,
Thank you very much for the info.? Just coded up a test program
and it works GREAT!!!!

You are right, very simple, but first time for me.?

Again, Thank You very much.

cheers
/tom c


On Thu, Oct 13, 2022 at 11:32 AM Joe Monk <joemonk64@...> wrote:
IIRC, this is pretty simple ..

you need a // ASSGN?SYSIPT,00C to assign the card reader?logical?to POWER...

Then in the assembler program, I think you have to have a DTFCD DEVADDR=SYSIPT to define the card reader. Open it and read the cards from SYSIPT.

Joe?

On Thu, Oct 13, 2022 at 9:10 AM Tom Chandler <tchandler48@...> wrote:
Thank you to all who helped me on my nested subroutine issue.? Made
a ton of progress on it.

New issue.... I want to include the data that my program uses in the JCL
job stream and my program will read this data for use.? I have been
trying to find information/examples of how to do it.

ex:
* $$ JOB JNM=TEST,CLASS=0,DISP=D????????????????????????????????????????
* $$ LST LST=00E,JSEP=1,CLASS=A,DISP=D????????????????????????????????
// JOB TEST?????????????????????????????????????????????????????????????
// EXEC TEST
DATA LINE ONE
DATA LINE TWO
DATA LINE THREE
/*
/&
* $$ EOJ

What I would like is for TEST to read the DATA LINE xxxx from the JCL.

The program is written in DOS/VS REL 34 ASM.

Any suggestions or comments will be welcome.

/cheers
/tom c