Examples of Holding Long File Names
When you are working with long file names, you might experience a problem where your symbolic parameter goes over the 120-byte character limit. The following two examples show how to hold a long file name by using two variables:
SET %RF = "/data/b2b/JPB/SENDING/Final/JUNE/" SET %RF = %RF + "PGPMFOUT.ENCRYPTED-FILENM.PGPO9156ARMPFN" SET %RF2 = ".D" + %GDATE SET %RF2 = %RF2 + ".T" SET %RF2 = %RF2 + %TIME QUOTE OFF PROCESS .... .... RFILE="%RF.%RF2" ...
SET %RF = "/data/b2b/JPB/SENDING/Final/JUNE/" SET %RF = %RF +"PGPMFOUT.ENCRYPTED-FILENM.PGPO9156ARMPFN" QUOTE OFF PROCESS .... .... RFILE="%RF..D%GDATE..T%TIME" ...
Copyright © Cloud Software Group, Inc. All rights reserved.