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 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
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts Jcl pram vs proc parms ashek15 JCL & VSAM 3 Thu Mar 30, 2017 6:50 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm


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