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

How to pass /* with sysin dd *


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
aru_bec

New User


Joined: 23 Dec 2005
Posts: 19
Location: Bangalore

PostPosted: Fri Mar 17, 2006 7:23 pm
Reply with quote

Hello friends,

How we can pass /* as a data using sysin statement?
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 17, 2006 8:10 pm
Reply with quote

hy aru_bec,

teh /* is actually the EOF flag for any instream dataset,
but you can do this similar like,
//FILE DD DATA,DLM=$$
here is your file with /* at the end...
$$

martin9
Back to top
View user's profile Send private message
aru_bec

New User


Joined: 23 Dec 2005
Posts: 19
Location: Bangalore

PostPosted: Fri Mar 17, 2006 8:19 pm
Reply with quote

Hello Martin

I want to pass

ABC
DEF
XYZ
/*

is this possible

//SYSIN DD *
ABC
DEF
XYZ
<operator>/*
/*
//


Please let me know if any <operators> are there to pass with /*.

Thanks & Regards,
Arvind
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 17, 2006 8:27 pm
Reply with quote

hy aru_bec,

you confuse me now a bit...

if you want to pass
ABC
DEF
XYZ
/*

then do

//SYSIN DD DATA,DLM=$$
ABC
DEF
XYZ
/*
$$

what you mean with <operator>???

martin9
Back to top
View user's profile Send private message
aru_bec

New User


Joined: 23 Dec 2005
Posts: 19
Location: Bangalore

PostPosted: Fri Mar 17, 2006 8:38 pm
Reply with quote

Thank you martin,

I got it...I have to pass DLM=$$ ..

Please ignore the <operator> part.

Thanks a lot,

Regards,
Arvind
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 17, 2006 8:45 pm
Reply with quote

hy arvind,

you can choose also other characters for delimiter...

but never mind,
you are welcome...

martin9
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts pass data as symbolic parameter from ... CLIST & REXX 2
No new posts EIBCALEN 0 even if we pass LEN and FR... CICS 4
Search our Forums:

Back to Top