Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts JTS parameter Shashank Chaubey JCL & VSAM 2 Thu Jul 13, 2017 4:15 pm
No new posts REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us