Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What's the difference between Alloc FILE and Alloc DDNAME

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
chaoj

Active User


Joined: 03 Jun 2010
Posts: 103
Location: Dalian

PostPosted: Wed May 22, 2013 7:56 am    Post subject: What's the difference between Alloc FILE and Alloc DDNAME
Reply with quote

When I use the allocate command in REXX , I always use ALLOC DDNAME(ddname) , but I found the ALLOC FILE(filename) also work well ,

I read the TSO Command Reference , it seems that there's no difference explanation for Alloc FILE and Alloc DDNAME , anyone knows the difference ? thanks !
Back to top
View user's profile Send private message

Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1777
Location: Bloomington, IL

PostPosted: Wed May 22, 2013 3:01 pm    Post subject:
Reply with quote

FILE and DDNAME are synonyms in this case, as they are in most instances in MVS; there really is no difference.
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1542
Location: Andromeda Galaxy

PostPosted: Wed May 22, 2013 4:35 pm    Post subject:
Reply with quote

TSO command ref manual has wrote:
FILE(name) | DDNAME(name)
specifies the name to be associated with the data set. It can contain up to eight characters. (This name corresponds to the name on the data definition (DD) statement in job control language and must match the ddname in the data control block (DCB) that is associated with the data set.) For PL/I, this name is the file name in a DECLARE statement and has the form DCL file name FILE; for example, DCL MASTER FILE. For COBOL, this name is the external name used in the ASSIGN TO clause. For FORTRAN, this name is the data set reference number that identifies a data set and has the form FTxxFyyy, for instance, FT06F002.
If you omit this operand, the system assigns an available file name (ddname) from a data definition statement in the procedure that is invoked when you enter the LOGON command.

Do not use special ddnames unless you want to use the facilities those names represent to the system.

For more information about the special ddnames SYSMDUMP, SYSUDUMP, SYSCHK, SYSCKEOV, and SYSABEND see z/OS MVS JCL Reference.

For more information about the special ddnames JOBCAT, JOBLIB, STEPCAT, and STEPLIB see z/OS MVS JCL Reference.




So no difference
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us