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

Whats is the use of DLM Parameter


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

New User


Joined: 07 Oct 2004
Posts: 1

PostPosted: Thu Oct 07, 2004 2:28 pm
Reply with quote

WHAT IS THE USE OF DLM (DELIMITER) PARAMETER?
Back to top
View user's profile Send private message
harinadh

New User


Joined: 01 Sep 2004
Posts: 18

PostPosted: Thu Oct 07, 2004 2:45 pm
Reply with quote

Hi,

If you want to read any data from JCL you use SYSIN DD statement.

There the delimiter is /*. This indicates the ending of input data.

If you want to insert this as input you can't. So, you can use DLM parameter and u can use that as Delimiter at end.



//SYSIN DD * ,DLM = 'XX'

AAAAAAA
AAAAAA
/*/*/*/*

XX

Thanks
Back to top
View user's profile Send private message
chandrasekhar

New User


Joined: 29 Sep 2004
Posts: 35
Location: bangalore

PostPosted: Thu Oct 07, 2004 7:42 pm
Reply with quote

DLM MEANS TO DELIMITER.
IT IS USED IN SYSIN DD COMMAND.
GENERALLY WE GIVE INPUTS AFTER SYSIN DD * AND AFTER GIVING WE TERMINATE IT BY /*.
BUT A PROBLEM ARISE WHEN U USE /* AS A INPUT.
THIS LL BE TREAT AS DELIMITER. THATS WHY TO SOLVE THIS PROBLEM WE USE DLM.
EX.
// SYSIN DD *,DLM='AAS'
DCD
/*
AAS
THANKS
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Oct 07, 2004 10:52 pm
Reply with quote

You'll see DLM used more often with the DD DATA stmt than the DD *. The DD DATA stmt is used to READ JCL stmts into a pgm or util.

Since the "/*" in this case becomes part of the data to be read, we need another way to denote the end of the instream data.
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 Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Writing the output file name from a p... JCL & VSAM 7
No new posts Reference for COND parameter. JCL & VSAM 1
Search our Forums:

Back to Top