DISCOVER_DOC

LANSA Composer

DISCOVER_DOC

This activity determines the document type (as defined in LANSA Composer's Document types) corresponding to a specified transaction document file.

INPUT Parameters: 

DOCFILE : Required

This parameter specifies the path and name of the transaction document file.

DOCTYPEGROUP : Optional

This parameter may specify the name of a document type group that will limit the document type definitions against which the specified transaction document file is matched.  The document type groups provide a further means for you to qualify the document discovery process according to the context in which it is running.

OUTPUT Parameters:

DOCTYPE :

Upon successful completion, this parameter will contain the name of the document type that applies to the specified transaction document file.  If a matching document type is not found, this parameter will contain the special value '*UNKNOWN'.

DOCPSEQ :

Upon successful completion, this parameter will contain the name of the processing sequence associated with the document type (if specified for the document type).  Your processing sequence can invoke the processing sequence using the Processing Sequence directive (the processing Sequence directive allows you to specify a processing sequence variable that contains the processing sequence identifier).