|
View previous topic :: View next topic
|
| Author |
Message |
kiran_polnati Warnings : 2 New User
Joined: 23 Jun 2005 Posts: 22
|
|
|
|
HI,
I HAVE A QUESTION , I WANT TO PASS THE DATA WHAT I GIVE THE DATA TO JCL INPUT,
MEAN
| Code: |
//SYSIN DD *,DLM=@@
//* THIS DATA I WANT TO PUT ANOTHER FILE (PS)
@@
|
|
|
| Back to top |
|
 |
superk
Global Moderator

Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
kiran_polnati, please use CODE tags around your JCL so we can see it in the proper format.
Did I edit your post properly? |
|
| Back to top |
|
 |
Marso
REXX Moderator

Joined: 13 Mar 2006 Posts: 1356 Location: Israel
|
|
|
|
You use the DLM parameter when the data you want to read is a JCL. It is used a lot to catalog procedures for example.
It is used in order to tell where the data stops and where the executing JCL resumes.
For example, in:
| Code: |
//SYSIN DD *,DLM=!!
//P1 PROC pgmname=default
//STEP1 EXEC PGM=&pgmname
//FOUT DD SYSOUT=*
!! |
the PROC, EXEC and DD cards are not executed, they are part of the SYSIN data.
The default value for DLM is /*, and you must use something else if there is (or if you suspect there might be) a /* within the data. |
|
| Back to top |
|
 |
kondakonda
New User
Joined: 20 Mar 2006 Posts: 34
|
|
|
|
Hi Kiran,
//SYSIN DD *,DLM=@@
//* THIS DATA I WANT TO PUT ANOTHER FILE (PS)
@@
Instead of coding above, you can code like
//SYSIN DD DSN=DATASET,DISP=SHR
where DATASET will contain the input data and you can pass this data.
Thanks. |
|
| Back to top |
|
 |
|
|