Date Last Reviewed:
03/15/2007
The personal computers in the student computer labs are connected on a communications network and have access to general access file servers, to the Computer Science student file server, and to printers. In addition to the file servers, other systems are available through the network. MVS jobs can be submitted to and retrieved from the MVS using MVSBATCH and FTP. The Computer Science Sun SPARC 1000 provides interactive Unix sessions through Telnet and interactive file transfer through FTP. MVS is automatically available to students in courses whose assignments use these systems. Unix is available to all Computer Science students; consult your instructor on how to activate your access. The electronic post offices are available to any students who have activated for electronic mail.
The servers, the Unix systems, and the MVS system are independent systems and require different log on procedures and potentially different passwords for access.
user to get another "Remote User Name" prompt. user to get another "Remote User Name" prompt. You now have an open connection with the FTP server. Please note that your connection to the MVS FTP server is automatically closed if it is inactive for more than 5 minutes.
help to list the commands available in FTP.
help commandname to list a description of a particular command.
quit at the "ftp>" prompt to close your session when you have completed your work with the MVS FTP server and to return to the LAN WorkPlace window. MSGCLASS=U on the JOB card in your source file, otherwise the job will not be held in the JES queue.
quote site filetype=jes to alert MVS to place incoming files into the JES queue.
lls or ldir to list the files on your local system (the system where you started FTP).
lcd directoryname to change the current directory on your local system if you need to.
put a:filename to submit your job from the diskette in the personal computer A: drive. A message indicating the number of bytes transmitted and how long it took is displayed when the file is received. quote site filetype=jes, if you have not already done so, to alert MVS to examine files in the JES queue.
dir to display the status of all your jobs with all the spool files a job has associated with it.
ftp>dir
200 Port request OK.
125 List started OK.
Z951234A JOB00001 INPUT
Z951234A JOB00002 HELD
Z951234A JOB00003 ACTIVE
Z951234A JOB00004 OUTPUT 3 spool Files
250 List completed sucessfully
ftp>
The strings that follow your AccountID in this list are your JOBIDs.
quote site filetype=jes, if you have not already done so, to alert MVS to take files from the JES queue.
get JOBID.X a: to download all the spool files associated with a job into a file on your diskette. A new filename can be added after the "a:" if you would like the file to appear with a different filename on your diskette. The filename is optional, but without a drive letter (A:), the files are put in volatile swap space (S:).
get JOB00004.X a: retrieves all spool files from JOB00004 and puts them all in a file named JOB00004 on your diskette
get JOB00004.X a:prog1.out retrieves all spool files from JOB00004 and puts them all in a file named progl.out on your diskette A message indicating the number of bytes transmitted and how long it took is displayed when the file is received.
quote site filetype=jes, if you have not already done so, to alert MVS to delete spool files from the JES queue.
delete JOBID to delete a job. Files can be transferred between an NIU host and a personal computer in the labs in either direction by running FTP on the personal computer.
quote site filetype=file, if you have not already done so, to alert MVS (not Unix) to place incoming files on disk.
a:filename to send a file from your diskette to Unix or MVS. A new filename can be added to the end of this command if you would like the file to appear with a different filename in Unix or MVS. A message indicating the number of bytes transmitted and how long it took is displayed when the file is received.
ls or dir to list the files under your current directory on Unix or under MVS.
cd directoryname to change the current directory in Unix.
lls a: or ldir a: to list the files on the diskette in the personal computer A: drive.
lcd directoryname to change the current local directory on your personal computer.
get filename a: to retrieve a file from your current directory on Unix or from MVS to the diskette in the personal computer A: drive. A new filename can be added after the "a:" if you would like the file to appear with a different filename on your diskette. A message indicating the number of bytes transmitted and how long it took is displayed when the file is received. You establish a connection to a Unix system from the labs by running the Telnet communication program on a personal computer. Telnet on the personal computer emulates a terminal by passing most typed characters through to Unix over the network. The Telnet application is available from within Windows. To run Telnet and access a Unix system from Windows:
If at any time you wish to change your password on the Unix system, perform the following steps:
passwd at the Unix shell prompt. The system requests that you authenticate yourself again before it will accept a new password.
passwd: Changing password for z951234
Enter login(NIS+) password:
New password:
Re-enter new password:
When the two entries match, your password on Unix is changed, following message is displayed, and the shell prompt is redisplayed
NIS+ password information changed for z951234
NIS+ credential information changed for z951234