Direct Deposit File Missing Carriage Returns at End of Each Record



Solution ID = KB-263

Goal : Direct Deposit File. Direct Deposit File Missing Carriage Returns at End of Each Record

Version = All Version

Module : SLACCT

Fact : Payroll

Database : Progress, SQL

Fix

Direct Deposit File Missing Carriage Returns at End of Each Record

DOS
====

Copy the attached program: FOLD.EXE.  and rename from FOLD.E_X_E  to FOLD.exe.  You will need to copy this file to the same directory as the DIRECT.DEP directory.  Open a DOS window  ( Start | run | cmd) to execute. Listed below are two examples of how you would run this executable to add carriage returns to the DIRECT.DEP file.  You will need to run this each time you submit this file to your bank.

README.TXT:
------------------------

FOLD 1.0
Filter to fold text file into CR/LF-terminated lines of specified length.
Free Software by TapirSoft Gisbert W. Selke, Apr 1991

Usage: FOLD [linelength] [/s] < infilename > outfilename

Linelength must be <= 64000; default is 256. If /s is specified, all CRs and LFs that may already be contained in the file are stripped.

EXAMPLE:

FOLD 10 < readme.txt > folded.txt

In this example the carriage returns that existed in readme.txt are left in the output file "folded.txt" because the "/s" flag was not used. So some lines may be less than 10 characters long, but no line is more than 10 characters long.

-------------------------- 

EXAMPLE 2:

FOLD  94  <  DIRECT.DEP  >  DIRECT2.DEP

In this example, the user positioned themselves at the DOS prompt with the files FOLD.EXE and DIRECT.DEP in the same directory as their session.  The FOLD command then accepts line limit setting of 94 and the redirector "<" tells DOS to use DIRECT.DEP as input to the FOLD command and the redirector ">" tells DOS to use the file DIRECT2.DEP to send output from the FOLD command.  Thus, the file DIRECT2.DEP should end up with a carriage-return/line-feed after each 94 character line.

For Unix: 

Use the UNIX 'fold' command.
Print Email

Send KB to this email: