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

SELECT clause in COBOL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Preetha Ramkumar

New User


Joined: 07 Mar 2006
Posts: 9
Location: Hyderabad

PostPosted: Mon Mar 13, 2006 2:21 pm
Reply with quote

Hi,

My query is on SELECT clause in COBOL.Usually we give the JCL DD name in the SELECT statements as below

SELECT IN-FILE ASSIGN TO IN-RAW
SELECT OUT-FILE ASSIGN To OUT-RAW

but in some programs the DD file names are prefixed with UT-S like:

SELECT IN-FILE ASSIGN TO UT-S-IN-RAW(in JCL the DD name is only IN-RAW)
SELECT OUT-FILE ASSIGN To UT-S-OUT-RAW

What exactly is the meaning of the prefix UT-S.

Waiting for the response.
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Mon Mar 13, 2006 4:04 pm
Reply with quote

Hi,

Quote:
What exactly is the meaning of the prefix UT-S


I believe it should be project specific,becaue I never see this in my project.

Regards
Rupesh
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Mon Mar 13, 2006 4:44 pm
Reply with quote

Please search. This question has been asked and answered many times.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Mon Mar 13, 2006 5:26 pm
Reply with quote

hy Preetha,

UT-S is Unit sequential, which can be omited also,
therefore is the same...

matrin9
Back to top
View user's profile Send private message
Preetha Ramkumar

New User


Joined: 07 Mar 2006
Posts: 9
Location: Hyderabad

PostPosted: Mon Mar 13, 2006 6:09 pm
Reply with quote

Hi Martin,

Thanks for the reply.Just wanted to know is there any advantage of using that in program because not all the programs are using UT-S.What can be the reason to specify it in some programs.

Regards,
Preeth
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Mon Mar 13, 2006 6:12 pm
Reply with quote

hy Preetha,

just use it or omit it... it's optional...

martin9
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 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 Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top