Current Page:
NeXtMidas Training
Working with Files
Lab 2
Instructions
|
|
- Lab 2:
- For this lab you will be asked to access different types of files using several
different methods.
- What you need to do:
- Dump the lines in the source code for the
STATUS command
($NMROOT/nxm/sys/intr/Status.java ) using the package syntax.
- Form the path for
apenny.prm in AREA=DAT ,
OPT=SYS in a platform independent way. Then use the
if command to check for its existence from the shell.
- Can you list the files in
http://nextmidas.techma.com/nm/nxm/sys/dat/ ?
Why or why not?
- Can you
STATUS the file
http://nextmidas.techma.com/nm/nxm/sys/dat/apenny.prm ?
Why or why not?
- Use the
NOOP command to copy the first half of the elements from
http://nextmidas.techma.com/nm/nxm/sys/dat/apenny.prm to a file
halfpenny.prm in your WRITE aux.
|
|
|