Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 4649
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: 1232
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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us