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
 

 

doubt regarding DDNAME parameter in proc

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

New User


Joined: 17 Feb 2004
Posts: 19
Location: pune

PostPosted: Thu Mar 17, 2005 1:54 pm    Post subject: doubt regarding DDNAME parameter in proc
Reply with quote

Plz let me know what is the use of the DDNAME parameter in cataloged procedures?
if possible plz explain me with a small example
Back to top
View user's profile Send private message

narena

New User


Joined: 16 Mar 2005
Posts: 18

PostPosted: Thu Mar 17, 2005 2:30 pm    Post subject:
Reply with quote

Hi Reddy,

The DDNAME refers to the file name in cobol program of SELECT statment.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Mar 20, 2005 1:57 am    Post subject:
Reply with quote

Hi REDDY,

The traditional use of DDNAME= in a cat/proc is to access in-stream data from a cat/proc, since the data itself is not permitted in the proc.

So, you'd do something like:

//s1 exec mycatprc
//instrm dd *
a
b
c
/*

In your cat/proc you'd code:
//ps1 exec pgm=yrpgm
//dd1 dd dns=............
//sysin dd ddname=instrm

This allows the data a, b, c to be read from a cat/proc.

HTH
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 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
No new posts Doubt in MFS abdulrafi IMS DB/DC 2 Fri Oct 21, 2016 3:09 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


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