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

Difference between SYSIN DD*, Dummy and DD DSL


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

New User


Joined: 06 Dec 2006
Posts: 1
Location: godhra

PostPosted: Wed Dec 06, 2006 5:45 pm
Reply with quote

what is difference between

//sysin dd *

and

//sysin dd dumy

and

//sysin dd dsl

WARNING: TITLE EDITED
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Wed Dec 06, 2006 5:57 pm
Reply with quote

Hi there,

SYSIN DD *:Instream data is perhaps the most common form of input. To include data in the input stream, code.SYSIN is often used as a ddname for instream data. The /* marks the end of the data.

Example

//SYSIN DD *
option copy
/*

//sysin dd dumy :DUMMY has meaning as NULLFILE and is used to suppress unused files. If you use it, it handles files as non existing.
You can use it for example in IDCAMS with various input and output files.
You have 20 input and 20 output files, but you only want to use the 9th thru 13th input/output files without changing the sysin instructions (REPRO).
So you set input/output file 1 thru 8 and 14 thru 20 to DD DUMMY.
It works, try it.

Please go through the manual before posting

If you use it in a concatenated DD statement, be careful, because it
identifies the EOF in the DD DUMMY, so it is the best way to place it
at the end of a DD instruction.

All parameters used after a DD DUMMY, are ignored, this is the difference between NULLFILE and DD DUMMY. NULLFILE recognizes applied parameters.
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 Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts What is the difference between Taskty... Compuware & Other Tools 2
No new posts Difference between VALIDPROC and CHEC... DB2 3
Search our Forums:

Back to Top