How to use parmfle instead of Parm paramter



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

How to use parmfle instead of Parm paramter

Postby raulkoroth » Tue Jun 29, 2010 11:27 pm

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
raulkoroth
 
Posts: 5
Joined: Tue Jun 29, 2010 11:23 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to use parmfle instead of Parm paramter

 

Re: How to use parmfle instead of Parm paramter

Postby dick scherrer » Tue Jun 29, 2010 11:53 pm

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: How to use parmfle instead of Parm paramter

Postby MrSpock » Wed Jun 30, 2010 12:19 am

Use an INCLUDE statement in the JCL in place of the entire EXEC statement.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: How to use parmfle instead of Parm paramter

Postby raulkoroth » Thu Jul 01, 2010 7:18 pm

thank you.
raulkoroth
 
Posts: 5
Joined: Tue Jun 29, 2010 11:23 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post