Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to pass symbolic parameter to PROC SYSIN?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
billrain

New User


Joined: 03 Dec 2007
Posts: 3
Location: China

PostPosted: Thu Oct 09, 2008 3:20 pm    Post subject: How to pass symbolic parameter to PROC SYSIN?
Reply with quote

Dear all, here is my JCL
Code:
//RENPROC  JOB ,'',CLASS=A,MSGCLASS=H,NOTIFY=&SYSUID,     
//             MSGLEVEL=(1,1)                       
//***PROC                                                         
//REN     PROC                                                   
//STEP1    EXEC PGM=IEHPROGM                                     
//SYSPRINT DD SYSOUT=*                                           
//SYSIN    DD DSN=A.B.C(D),DISP=SHR                                   
//        PEND                                                   
//******************************                                 
//REN01   EXEC REN,MEMBER=A,NEWNAME=B     
//


And in A.B.C(D) is:
Code:
   RENAME MEMBER=&MEMBER,DSNAME=C.TEST.JCL,                X
               VOL=3390=COMUSR,NEWNAME=&NEWNAME                     


Of course this won't work, but how can I pass value to the SYSIN in the PROC?
Back to top
View user's profile Send private message

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Oct 09, 2008 3:23 pm    Post subject:
Reply with quote

Hi,

it cannot be done

Gerry
Back to top
View user's profile Send private message
billrain

New User


Joined: 03 Dec 2007
Posts: 3
Location: China

PostPosted: Fri Oct 10, 2008 1:35 pm    Post subject:
Reply with quote

well...
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Oct 10, 2008 1:51 pm    Post subject:
Reply with quote

May be this can be an alternative for you - in this
Code:
//SYSIN    DD DSN=A.B.C(D)

use "D" with symbolic parametes and let "D" contain the desired SYSIN parameters.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us