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

what is the meaning of the following DD Name


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
k.pavankumar

New User


Joined: 22 May 2006
Posts: 8

PostPosted: Fri Jun 23, 2006 12:10 pm
Reply with quote

Hi People,

I have seen lots of Programs in Production, I have seen that in some programs, the select statement will be as follows:

SELECT ITEM-FILE ASSIGN TO UT-S-ITEM.

In the above statement what does it mean UT-S. I have seen the related JCL to that program I have found the DD name as Only ITEM.

I have also seen the following select also.

SELECT ITEM-FILE ASSIGN TO AS-ITEM.

Could any one help me in this regard.

Advance Thanks icon_lol.gif
Back to top
View user's profile Send private message
prashantshinde

New User


Joined: 25 Nov 2005
Posts: 49
Location: Pune

PostPosted: Fri Jun 23, 2006 3:09 pm
Reply with quote

hi,
I don't know the meaning of first one . But in the second one the term AS-ITEM means there is file named ITEM is ESDS file.

We use 'AS ' suffix for ESDS files (only) to define in INPUT-OUTPUT section.
Back to top
View user's profile Send private message
ralph_v

New User


Joined: 07 Jul 2005
Posts: 27

PostPosted: Fri Jun 23, 2006 8:37 pm
Reply with quote

UT-S is basically used to refer to TAPE datasets.
Back to top
View user's profile Send private message
calspach

New User


Joined: 05 May 2006
Posts: 32
Location: USA

PostPosted: Fri Jun 23, 2006 9:21 pm
Reply with quote

Most installations don't require that you specify that anymore. At one time, as Ralph said they would signify if it was a tape, Dasd, or whatever. It doesn't hurt to leave them in however, the system will still find the file regardless now.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Jun 23, 2006 9:25 pm
Reply with quote

UT-S is Unit Sequential (basically any QSAM dataset access).
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Jun 24, 2006 9:00 pm
Reply with quote

As I recall this was dropped as a requirement prior to COBOLII and I'm certain that it wasn't required in COBOLII.

With the exception of AS- for ESDS files, the more recent versions of IBM's COBOL compiler do not use that designation anymore.
Back to top
View user's profile Send private message
karthi_ind

Active User


Joined: 24 Feb 2004
Posts: 131
Location: Chennai

PostPosted: Mon Aug 14, 2006 1:37 pm
Reply with quote

The answer for you question is

SELECT INFILE ASSIGN TO UT-S-INFILE
OR
SELECT INFILE ASSIGN TO DA-S-INFILE

What they mean actually?

First part in DDNAME: - Device Class
UT stands for Utility (Tape or Sequential Disk)
DA stands for Direct-Access (disk)

Second part in DDNAME: - Method of Organization
S ? Sequential (Printer, terminal, disk or tape)
I, R, D ? Disk files to be accessed randomly
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Aug 14, 2006 1:57 pm
Reply with quote

You can see it in the fine document.

O.
Back to top
View user's profile Send private message
sachinbhavsar

New User


Joined: 15 Feb 2006
Posts: 9
Location: Stockholm,Sweden

PostPosted: Mon Aug 14, 2006 3:13 pm
Reply with quote

Hi,

* I think UT-S is defining UTILITY SEQUENTIAL file.

* It may be PS or ESDS.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts what is meaning of the number in dcl PL/I & Assembler 2
No new posts WER416B Error meaning SYNCSORT 9
No new posts Meaning of low values and high values COBOL Programming 12
No new posts What is the Question Mark (?) meaning... DFSORT/ICETOOL 4
No new posts Meaning of Comma (,) in Easytrieve CA Products 4
Search our Forums:

Back to Top