#!/bin/sh
#
set +x

###################################################################################
#  Document the HISTORY of script modifications
#
#  REVISED: Sept  27,  2004  - Setup Script
##################################################################################

set -x

cd $DATA

# Make sure com file variables are established
#
export PDH="$PDY$cyc"

set -aex

msg="The Dump for $PDH has started."
postmsg "$jlogfile" "$msg"

/nwprod/ush/dumpjb $PDH 1.00 metar lcman mbuoy dbuoy ships

cat metar.out lcman.out mbuoy.out dbuoy.out ships.out >> $pgmout

cat metar.ibm lcman.ibm mbuoy.ibm dbuoy.ibm ships.ibm >> glfs.$cycle.bufr_d
/nwprod/ush/cwordsh unblk glfs.$cycle.bufr_d glfs.$cycle.bufr_d.unblk

cp glfs.$cycle.bufr_d.unblk $COMOUT

msg="The Dump has ended."
postmsg "$jlogfile" "$msg"
