Page 1 of 1

How to use parmfle instead of Parm paramter

PostPosted: Tue Jun 29, 2010 11:27 pm
by raulkoroth
Hi ,

I have a situation were i need to use the parm parameter coded moved to a datalib.

// EXEC PRGM = XXXXX
// PARM = (XXXX,XXXX, ,,,,,,, XXXX)
//
//


I want to move this parm statement into a datalib and use it in the JCL. Could you please let me know how to do this.



Regards,
RAUL

Re: How to use parmfle instead of Parm paramter

PostPosted: Tue Jun 29, 2010 11:53 pm
by dick scherrer
Hello and welcome to the forum,

Most systems have existing libraries for this kind of data. Create a new member for this parameter data and enter the value(s) using the editor.

In your jcl, add a DD statement to point to this member in the library.

Change the program code to use this "file" rather than the Linkage Section.

If you get stuck, post what you have done and where there is some doubt. Someone will be able to clarify.

Re: How to use parmfle instead of Parm paramter

PostPosted: Wed Jun 30, 2010 12:19 am
by MrSpock
Use an INCLUDE statement in the JCL in place of the entire EXEC statement.

Re: How to use parmfle instead of Parm paramter

PostPosted: Thu Jul 01, 2010 7:18 pm
by raulkoroth
thank you.