# this method views an existing address record def loadrubyscriptrecord require 'fileutils' currentscriptname = @a_rubyscriptfilename begin # exception trapped block fileName = $shellscript_directory + "/" + currentscriptname + ".rb" fd = File.open(fileName,"r") @a_rubyscriptrecord = fd.read fd.close rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end