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

HOW TO PASS THE DATA IN //SYSIN DD * TO ANOTHER PS FILE


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

New User


Joined: 23 Jun 2005
Posts: 22

PostPosted: Fri Jun 30, 2006 1:24 am
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Fri Jun 30, 2006 1:29 am
Reply with quote

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
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1356
Location: Israel

PostPosted: Fri Jun 30, 2006 3:14 am
Reply with quote

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
View user's profile Send private message
kondakonda

New User


Joined: 20 Mar 2006
Posts: 34

PostPosted: Mon Jul 03, 2006 2:59 pm
Reply with quote

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
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
Search our Forums:


Back to Top