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

Syntax for NEW DELIMITER


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

New User


Joined: 25 Jul 2005
Posts: 15
Location: Hyderabad

PostPosted: Thu Aug 04, 2005 5:44 pm
Reply with quote

Hello:

In JCL for instream data we use
//sysin dd *
-----
------

/*
As soon as the system encounters /* it exits the sysin dd *
But say i have /* as data. Then how do i do it. How do i tell the system that the /* is part of data and not the end of instream data.
I know you can use a NEW DELIMITER in the step. Can anybody give me the syntax for the same.

Thanks
Sri
Back to top
View user's profile Send private message
vinu

New User


Joined: 03 Jul 2005
Posts: 9

PostPosted: Thu Aug 04, 2005 6:57 pm
Reply with quote

This is straight forward i guess,

Ref any JCL book. (i remember seeing it in JCL PRIMER )

You can declare any character as delimiter.

vinu
Back to top
View user's profile Send private message
shinjini_t

New User


Joined: 11 May 2005
Posts: 14
Location: Bangalore, India

PostPosted: Thu Aug 04, 2005 7:53 pm
Reply with quote

Hi Sriteja,

If you have to pass /* in the SYSIN then better to use a different delimiter.
where you can specify the new delimiter by the DLM parameter.

Code Example::

//SYSIN DD DATA,DLM=aa
10
40
/*
shweta
10
90
aa ------> this is where you actually delimit it.

Thanks & regards,
Shinjini Thakur.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts CNTL= Command Syntax Documentation CA Products 3
This topic is locked: you cannot edit posts or make replies. issue with Syntax error SYNCSORT 2
No new posts Export columns from DB2 table with pi... DB2 14
No new posts COBOL - Array result in single variab... COBOL Programming 3
Search our Forums:

Back to Top