IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to pass symbolic parameter to PROC SYSIN?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1702
Location: Australia

PostPosted: Thu Oct 09, 2008 3:23 pm
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
Reply with quote

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

Superior Member


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

PostPosted: Fri Oct 10, 2008 1:51 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
Search our Forums:

Back to Top