IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to override a DD name of output dataset of JCL frm COBOL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 459
Location: Belgium

PostPosted: Fri Apr 04, 2008 7:24 pm
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

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Apr 04, 2008 8:05 pm
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: 2146
Location: At my coffee table

PostPosted: Fri Apr 04, 2008 8:08 pm
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

Moderator Emeritus


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

PostPosted: Fri Apr 04, 2008 9:36 pm
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
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: 1287
Location: Chennai, India

PostPosted: Sat Apr 05, 2008 4:30 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top