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 DUMMY When do I need add a DCB parameter Martylin JCL & VSAM 3 Fri Dec 08, 2017 7:20 am
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
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

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