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 /* with sysin dd *

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: How to pass /* with sysin dd *
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    Post subject:
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    Post subject: Re: How to pass /* with sysin dd *
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    Post subject:
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    Post subject: Re: How to pass /* with sysin dd *
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts Need to know what sysin for DFHTU690 ... pkmurali CICS 3 Mon Jul 25, 2016 1:36 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts Is it possible to pass variables of s... Csongor CLIST & REXX 2 Fri Jun 10, 2016 7:33 pm

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