Marist, TSO, and ISPF Guide

Table of Contents


Notice: Use of undefined constant section - assumed 'section' in /home/data/www/t90jfl1/public_html/benson_tso_guide/guide.php on line 31

5 Submitting a Data Set and Viewing Program Output

5.1 Submitting Your Job in Batch Mode

After you have opened your data set (See Accessing the Data Set for a reminder), you can submit your data set to be run by the mainframe. Jobs are submitted through Batch mode, which means there is no interactive user input / ouput.

Submitting a Data Set

With the data set open, type "sub" in the command bar and press enter to submit the job. ("sub" is short for submit)

Result of submitting a data set

The job number will be returned in the bottom half of the screen. Remember this job number since it will be necessary in a minute.

5.2 Viewing Your Job on the Marist Mainframe

To view the job, we need to go to the SDSF Primary Option Menu. On the ISPF main screen, type "13" and press enter.

SDSF Primary option menu screenshot

On the command input area, type "H" and press enter to view the current jobs.

SDSF listing of submitted jobs

Above is a listing of your current jobs. Currently, there is only one job output view that can be viewed, and it has the same job number from the data set that was just submitted. To see the file, put an "S" in the NP column next to the job you wish to view.

The Marist mainframe system can only hold so many output jobs. Once there are too many, jobs you submit will not return output, and you must delete some held jobs. To do this, place a "P" in the NP column. This will purge (delete) the held output job.

Job submission output (viewing a submitted job in ISPF)

This is what the first screen of your data set output will look like. This is a listing of various information about running your job. Notice how the screen is not wide enough to fit all the text horizontally. To view the rest of the text to the right, press the F11 key. To return the view to the right, press the F10 key. The page up and page down keys can be used to scroll through the document. The F7 and F8 keys can be used instead of page up and page down.

5.3 Using MarFTP to Save Jobs Locally and to Print Jobs

MarFTP is a program that allows students to save jobs from the Marist mainframe onto their local computer. This way, the student can view the jobs in the text editor of their choice and print the job.

View a detailed list of MarFTP instructions as written by its creator

5.3.1 Downloading MarFTP

From the Computer Science Computing Resources Page, download the MarFTP software. (Click on the link Ftp program for fetching run programs from Marist)

MarFTP should run in all Windows based operating systems.

Important! Make sure you save the MarFTP.exe file to a location you have read and write access to. If you are using your own PC, you should be fine wherever you download it to. If you are in the NIU computer labs, you must download the file to your H:\ drive. It is suggested that you create a folder called "MarFTP" under the H:\ drive and save the MarFTP.exe file there. Internet Explorer and Mozilla Fire Fox may have preset locations in which they download files to (usually the windows desktop). Move the file from the desktop to your "H:\MarFTP" folder. If you leave the MarFTP.exe on the desktop in the computer lab, you will not get any output from it.

5.3.2 Running MarFTP

After you have downloaded the MarFTP software, find the mar_ftp.exe icon and double click on it.

mar_ftp.exe icon

This will start the MarFTP software.

 

mar ftp security warning

You may see a security warning like this in Windows XP, Windows Vista, or other operating systems. Click the Run button. Also make sure that "always ask before opening this file" is not selected. This way, you will not see this message again.

5.3.3 Connecting to Marist with MarFTP

After double clicking on the mar_ftp.exe icon, a black window will pop up. This is a Windows command prompt screen. By entering certain information, it will connect you to the Marist mainframe.

filling in the user name and password in mar ftp

Follow the prompts presented by MarFTP and enter in the fields. You will first need to enter your KC user ID. Next, type in your password. For both of these fields, you can use the backspace key to correct mistakes. The backspace key will correct mistakes in the password field, but it will not remove * characters from the screen. Once you have entered this information, type "y" to continue.

If you see the listing of jobs, you entered the correct user ID and password, so press "Y" to continue.

Important note: If you have entered the correct user ID and password, and MarFTP does not appear to be working, do not keep trying the program. Too many incorrect connections can cause your Marist account to be locked out. Contact your professor if you can't get the MarFTP program to work.

5.3.4 Saving Files with MarFTP and Printing Jobs

Now that the MarFTP program is connected to the Marist mainframe, you can save the jobs to your computer.

downloading a job with marftp

Select option 3 to retrieve files. You will then be prompted to enter the ID of the job you wish to retrieve. (job03757 from our earlier example) Type the name of the job and press enter. Two files will be downloaded to the folder where MarFTP is located.

jobs retrieved from mar ftp

The .txt file is the job output. You can save this to a USB flash drive or anywhere else on your computer. You can also open the .txt file in any text editor to view its contents. The Notepad program works just fine to view jobs. After opening the file, it can be printed. Go to the File menu, and then select Print. Press Ok at the next prompt to print the job.

The other file without the .txt extension can be safely deleted.