Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
HOW TO PASS THE DATA IN //SYSIN DD * TO ANOTHER PS FILE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: HOW TO PASS THE DATA IN //SYSIN DD * TO ANOTHER PS FILE
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

Moderator Team Head


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

PostPosted: Fri Jun 30, 2006 1:29 am    Post subject: Re: HOW TO PASS THE DATA IN //SYSIN DD * TO ANOTHER PS FIL
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: 1275
Location: Israel

PostPosted: Fri Jun 30, 2006 3:14 am    Post subject:
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    Post subject: Re: HOW TO PASS THE DATA IN //SYSIN DD * TO ANOTHER PS FIL
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us