View previous topic :: View next topic
|
Author |
Message |
KHEMACHANDRAN
New User
Joined: 07 Oct 2004 Posts: 1
|
|
|
|
WHAT IS THE USE OF DLM (DELIMITER) PARAMETER? |
|
Back to top |
|
|
harinadh
New User
Joined: 01 Sep 2004 Posts: 18
|
|
|
|
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 |
|
|
chandrasekhar
New User
Joined: 29 Sep 2004 Posts: 35 Location: bangalore
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
|