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
 

 

Can an parameter override to coded to read a dataset?

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

New User


Joined: 01 Dec 2006
Posts: 2
Location: USA

PostPosted: Wed Dec 06, 2006 7:20 am    Post subject: Can an parameter override to coded to read a dataset?
Reply with quote

In one of my projects I am needing to read the contents of a dataset as the parameter that I am passing to the proc. Is there a way to do this?

Below is an example of a piece of the JCL and where I need to be able to read the contents of the dataset:

//SQLLDR EXEC ORALDRXX,REGION=0M,USERID='READ CONTENTS',
// INDEX=IDOX00P.PO
Back to top
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Wed Dec 06, 2006 7:29 pm    Post subject: Re: Can an parameter override to coded to read a dataset?
Reply with quote

sqlmainframe,

I think we are unclear on what you are trying to accomplish here.

Can you please re-state your question in more detail?

Thanks,

Dave
Back to top
View user's profile Send private message
sqlmainframe

New User


Joined: 01 Dec 2006
Posts: 2
Location: USA

PostPosted: Thu Dec 07, 2006 12:46 am    Post subject: Re: Can an parameter override to coded to read a dataset?
Reply with quote

I need to override a symbolic parameter.

Below is the portion of the proc that contains the symbolic parameter I need to override. It is in bold.
//ORALDR EXEC PGM=SQLLDR,REGION=4M,
// PARM=('CONTROL=/DD/&INDD USERID=&USERID',
// 'LOG=/DD/&LOGDD DIRECT=&D')

The data that needs to be read into the proc is contained within a PDS on the mainframe. I need the PROC to accept the contents of the dataset instead of hardcoding the data into the JCL. Is there a way within JCL to do this?

Below is the portion of the JCL:
//SQLLDR EXEC ORALDRXX,REGION=0M,USERID='USERID/PASSWORD',
// INDEX=IDOX00P.PO

Hopefully this clarify the question.
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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm


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