Using TSO on the Student System

More Information

To print your output in the student labs

To print your output from the StuMVS JES output queue, the following fields must be provided on your DD statement to allow the MVS printing facility to select your job:

DD Statement Fields for printing
output CLASS = P  P for print, D for display, X for system messages. Output in class D can be viewed and then altered to class P on the SDSF screen to be printed.
WRITER = xxxxx where xxxxx is a valid student lab code.  (See JCL Standards for list).
FORM = nnnn where nnnn is a valid form code. The default form code is SLW8. 
  (See JCL Standards for list).


Print JCL examples (output DD statements) - see also JCL Standards

Use the following DD statement to display a report in the output queue:


In order to print a report, the D output class needs to be changed to a P in the output queue:


The report will print in SLW8 (Standard Landscape Width 80) format in the Stipes 307 lab. The report will only stay in the output queue until it has been selected to print.  It will not be available for viewing.

To send output to a file to view/print from a non-lab PC

In order to print directly from the MVS JES output queue to a specified printer,  the printer must already be defined to the system.  In the StuMVS system, the printers in the Student Labs have been defined to the system.

You can view your output in the JES queue from any PC to which you are logged on to StuMVS. However, you can only print to the Lab printers.  If you are accessing StuMVS from a non-lab PC, and need to print, follow these instructions

    1. Send your output to a StuMVS file by using the following DD statement in
        your JCL:
           //ddname DD DSN=userid.XXXX.XXXX.LIST,DISP=(NEW,CATLG,DELETE)
            the ddname is the name used for this output in the program (i.e. PRINT),
            the userid is your StuMVS logon id, and the XXXX are other qualifiers for
            your file identification. Use LIST as the low-level qualifier (LLQ). A default
            LRECL size of 132 has been set up for files with a LLQ of LIST. The LRECL
            size must match your program specifications; 132 is usually used for printer
            output, but if your program has a different size you will need to add an
            LRECL=nnn parameter to the above DD statement.

            This procedure creates a file which will remain active on the system until it is
            deleted.  You will need to delete it before running the program and creating it
            again.  You can delete it through TSO or by running an IDCAMS step.

    2. Run the job to create the file.

If you are compiling a program with the COMPILE clist, you can choose to have the compiler output created as a file rather than sent to the JES queue.  The output will not be in JES so you will not be able to view it through SDSF, but you will be able to download the file.  To create this file select the option "Output to File" in the COMPILE clist.  The DSN of the file created will be:

    3. Download that file to your PC.

Once you have the StuMVS file created, you can download it to your PC.  Go to TSO.  Select P for PDF, select Option 6 for Commands.  Click on Host.  Click on Download File.  Fill in the Download File panel.  Host File is the DSN of the file created above, PC File is the name of the PC file you are sending it as.  File Conversion is ASCII/EBCDIC and CRLF, Host type is TSO, PC file option is Replace.

This download process uses a QWS3270 facility and the Ind$file program to send the file to your PC.  It works if you are assessing StuMVS through the "Student MVS" program as set up in the "Logon" section of the "StuMVS Documentation".  If you use another access method, this system may not work.

    4. Print it from your PC to your local printer.

General Info | Logon to StuMVS | Using CICS | Using TSO | Standards | Glossary of Terms
StuMVS Home | Instructor's Form | UIMS Home | WIU Home Page

Western Illinois University
University Information Management Systems
Copyright © 2001