STScI Logo

wcardimage dataio


NAME · USAGE_ · PARAMETERS · DESCRIPTION · EXAMPLES · BUGS
SEE_ALSO

NAME

wcardimage -- convert IRAF text files to card image files

USAGE

wcardimage infiles outfiles

PARAMETERS

textfile
A character string identifying the file (s) on disk to be processed. The string acts as a "template" so that multiple files can be pro- cessed.
cardfile
Name of the output tape device of the form "mta800" or "mta800[#]" or name of disk file (s). EOT and BOT are acceptable tape file numbers. The file number will be appended to the output file name in the case of multiple file disk output.
new_tape
Specifies whether the output tape is blank or contains data.
contn_string = ">>"
Character string which will be inserted at the beginning of card image lines which have been split from a single text line.
verbose = yes
Print messages of actions performed?
detab = yes
Remove tabs?
card_length = 80
Number of columns per card.
cards_per_blk = 50
Number of card images per physical record.
ebcdic = no
Translate ascii characters to ebcdic?
ibm = no
Translate ascii characters to ibm ebcdic?

DESCRIPTION

If multiple file disk output is requested, ".crd" is appended to the input file name. Oversize lines are split and prefixed by the string ">>".

EXAMPLES

1. Convert a set of IRAF text files to a set of blocked ASCII cardimage files on tape, replacing tabs with blanks and prefixing the leftover portions of oversize lines with ">>".


	cl> wcardimage files* mtb1600[1]

2. Convert a set of IRAF text files to a set of blocked EBCDIC cardimage files on tape, replacing tabs with blanks and prefixing the leftover portions of oversize lines with ">>".

cl> wcardimage files* mtb1600[1] eb+

BUGS

The card_length in bytes must be an integral number of chars. At present WCARDIMAGE can only handle lines with less than or equal to 161 characters.

SEE ALSO

rcardimage


Source Code · Search Form · STSDAS