Previous Topic

Next Topic

Book Contents

Book Index

Header ID

Header ID reads a text string on the first (Header) line of a file from a set character position. A new task parameter called HeaderID_Value can be used for integration into MOVEit Automation tasks.

Input Parameters

Output Parameter

Example #1

Bill wants to read a value from the first line of a file starting in column 1 and continuing 8 characters, and then use this text string to rename the file on the task's destination (with a date stamp extension).

To integrate this application with MOVEit Automation, Bill does the following:

  1. Creates a new task with a source, process, destination and schedule.
  2. Selects "Header ID" as the process.
  3. Sets process parameters:
  4. Edits the Destination to set FileName to [Parm:HeaderID_Value].[YYYY][MM][DD]

Example #2

Cheryl wants to read a value from the first line starting in column 5 and continuing 6 characters. She wants to discard this first line and use the HeaderID_Value in conjunction with a LookUp process to find the folder on a FTP server where each respective file should go.

To integrate this application with MOVEit Automation:

  1. Create a new task with a source, process, destination and schedule.
  2. Select "Header ID" as the 1st process
  3. Set the Header ID process parameters:
  4. Add a second process, choosing the built in "Look Up" script
  5. Set the Look Up process parameters:
  6. Edit the Destination to set Folder to [Parm:LookUp_Value]