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 parameters in SYSIN DD

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

New User


Joined: 17 Jun 2009
Posts: 1
Location: pune

PostPosted: Wed Jun 17, 2009 7:44 pm    Post subject: How to pass parameters in SYSIN DD
Reply with quote

Hi,

I have a specific requirement to pass a current date inside a VSAM cluster for IDCAMS.below is my jcl:

Code:
//B905007  EXEC  PGM=IDCAMS,                   
//            REGION=4000K                     
//SYSOUT   DD SYSOUT=*                         
//SYSPRINT DD SYSOUT=*                         
//*                                             
//ELCODEIN DD DSN=PV01.B903000.ELCODE.NONPROD, 
//            DISP=SHR   
//SYSIN    DD*
     DEFINE CL (NAME(TOLLNA.T.B903000.ELCODE.NONPROD.C&DATE01.01) -   
          KEYS(12,0) -                                           
          VOLUMES(*) -                                           
          RECSZ(80,80) -                                         
          FSPC(0,25) -                                           
          CYL(27,1) -                                             
          NOREUSE -                                               
          BUFFERSPACE(13000) -                                   
          REPLICATE -                                             
          SPEED -                                                 
          OWNER('APPL-MS') -                                     
          IMBED) -                                               
    DATA (NAME(TOLLNA.T.B903000.ELCODE.NONPROD.C&DATE01.01.DAT) -
          OWNER('APPL-MS')) -                                     
      IX (NAME(TOLLNA.T.B903000.ELCODE.NONPROD.C&DATE01.01.IND) -
          OWNER('APPL-MS'))                               



I want to pass the DATE01 parameter from JCl....cureently i am getting an error as DATASET SYNTAX INVALID
Can anyone suggest me how i can resolve this problem? Please help.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jun 17, 2009 7:48 pm    Post subject:
Reply with quote

Please search the forum for similar topics - has been discussed to within an inch of its life.
Back to top
View user's profile Send private message
r2k1984

New User


Joined: 21 Jun 2005
Posts: 69
Location: chennai

PostPosted: Thu Jun 18, 2009 7:10 pm    Post subject: Reply to: How to pass parameters in SYSIN DD
Reply with quote

In the previous step write the file name with date parameter in sort and use the file in the next step..

hope it will help you
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 LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 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 CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts Need to know what sysin for DFHTU690 ... pkmurali CICS 3 Mon Jul 25, 2016 1:36 pm


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