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 override a DD name of output dataset of JCL frm COBOL

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

New User


Joined: 23 Jan 2008
Posts: 2
Location: pune

PostPosted: Fri Apr 04, 2008 7:15 pm    Post subject: How to override a DD name of output dataset of JCL frm COBOL
Reply with quote

I want to override the DD name of output dataset by using a COBOL program.
Back to top
View user's profile Send private message

PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Fri Apr 04, 2008 7:24 pm    Post subject:
Reply with quote

?? The DD name is nothing. Just a relationship between JCL and program during the life of the run.

Please clarify
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 Apr 04, 2008 8:05 pm    Post subject:
Reply with quote

Hi,

In
Code:
SELECT FILE-NAME ASSIGN TO DD-NAME.
change the DD name.. icon_razz.gif
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Fri Apr 04, 2008 8:08 pm    Post subject: Re: How to override a DD name of output dataset of JCL frm C
Reply with quote

ANISH THOMAS wrote:
I want to override the DD name of output dataset by using a COBOL program.
Or are you asking about the dsname?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Apr 04, 2008 9:36 pm    Post subject:
Reply with quote

Hello,

Quote:
I want to override the DD name of output dataset by using a COBOL program.
You know what you are asking and what you want to do, but as you can see from the replies, your request is not understood by all here.

COBOL has no "ddname override" function/capability.

Please clarify.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Apr 05, 2008 7:14 am    Post subject:
Reply with quote

Hi Thomas,

Why don't you tell us about the problem you're experiencing that you think overriding the DD name of output dataset will solve.

There may be an easier solution.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Sat Apr 05, 2008 4:30 pm    Post subject: Reply to: How to override a DD name of output dataset of JCL
Reply with quote

Dick,

Rightly said, The requirement is not that clear. From what i understood, my answer would be the same as that of anuj.
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 Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm


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