On Mon, 21 Jul 2008 08:24:58 -0500, Rajeev <[EMAIL PROTECTED]> wrote:

>Hello.
>
>There is an Input file which contains all the server details, In the job these
>server can be passed as symbolic parameters and then the control card for
>the FTP is built . The rest of the path details are  passed as symbolic
>parameters.
>
>In This case is there any easy way other than writting a program to generate
>the control card. Please share some thoughts?
>
>The INPUT file looks like the below
>
>AF:\ADATKI\
>BF:\BDDHILL\
>CF:\CDDCHAR\
>
>
>Thanks,
>Rajeev
>

JCL symbols (either through JCL PROC or SET statement resolution) are 
accessible only as PARM= data string values.  

So, you would need to have a written program (REXX, other language), 
executed as a job-step that processed a PARM= string value and passed it to 
an OUTPUT DD allocation in your job (either temp or perm DSN).  That output 
DD allocation would then be used as a concatenated "input" DD for your FTP 
command set, as needed, to resolve the "variable" information.

Scott Barry
SBBWorks, Inc.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to