Originally posted by Ed Hafner
Originally posted by Scott Folley
proc ftpAdtOutputFileVPN { args } { keylget args MODE mode ;# Fetch mode set dispList {} ;# Nothing to return switch -exact -- $mode { start { # Perform special init functions # N.B.: there may or may not be a MSGID key in args } run { # 'run' mode always has a MSGID; fetch and process it keylget args ARGS.ACCTNUM acctnum set timestamp [ clock format [ clock seconds ] -format %Y%m%d%H%M%S ] set transTimeInClicks [ clock clicks ] keylget args MSGID mh set extension "DAT" set prefix "CLF" set outboundFilename "$prefix$timestamp$acctnum$transTimeInClicks" set filename "$outboundFilename.$extension" keylset fileKeys OBFILE $filename keylset filesetKeys FILESET $fileKeys msgmetaset $mh DRIVERCTL $filesetKeys lappend dispList "CONTINUE $mh" }
Ed Hafner wrote:Jim,Just for reference - I determined that on VMS the command is 'nlist' instead of 'nlst'.
Ed Hafner wrote: