#!/bin/sh
set -e
# Set all of the fields to missing

if [ $# -ne 3 ] ; then
  echo "Error in $0: invalid number of arguments $#"
  exit 1
fi
pfx=$1
inp=$2
out=$3

access inp ${pfx}_${inp}
echo "C* FMSKPLT        -1 NEXT   LT        0.    1     1.E38    1" | ccc fmskplt inp ${pfx}_${out}

release inp .ccc_cards
