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
 
Difference in creating a DataSet

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
muthukrishnan

New User


Joined: 12 Sep 2003
Posts: 4

PostPosted: Sat Sep 13, 2003 12:42 pm    Post subject: Difference in creating a DataSet
Reply with quote

What is the difference between coding
//sysin dd xxxx
and
// dd ddname=sysin

is there any specific reasons for coding like this??
and if yes what is the criteria?

and when we use array and when we use table??
and how will you define a dataset?

Pls anyone clear me this pls!!!!!!!!!!! icon_rolleyes.gif
Back to top
View user's profile Send private message

mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 238
Location: USA

PostPosted: Sat Sep 13, 2003 1:31 pm    Post subject:
Reply with quote

Hello muthukrishnan,

what is your expertise in mainframes??

also can you eloborate your queries??

Regards

Mayuresh Tendulkar
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Sep 13, 2003 9:11 pm    Post subject:
Reply with quote

Hi M,

DDNAM= is usually used to get around the restriction of using instream data in PROCs. You can use it in other ways, but this is the most common.

Consider:

You have a proc that contains one or more steps that require instream data. Let's say the proc is PROC1 and it has 2 steps. The pgm in STEP1 uses an ACCEPT stmt to "read" instream data. The pgm in STEP2 uses an FD and READ to read instream data.

In the proc for STEP1 you code:

//SYSIN DD DDNAME=S1CARDS

For STEP2 you code:

//CARDFILE DD DDNAME=S2CARDS


In the JOB JCL you code:

//MYJOB JOB ....
// EXEC PROC1,...
//STEP1.S1CARDS DD *
your cards go here
//STEP2.S2CARDS DD *
your cards go here

If you don't include the O'ride stmts S1/S2CARDS they default to DUMMY.

Regards, Jack.
Back to top
View user's profile Send private message
muthukrishnan

New User


Joined: 12 Sep 2003
Posts: 4

PostPosted: Mon Sep 15, 2003 10:28 pm    Post subject: thankyou
Reply with quote

Hi jack

thankyou for your explanation on dummy and ddname.
but i wish to ask mauresh that for him to answer the quesstion he doesnot want my expertise!!!!
icon_evil.gif if you are not interested u can leave it o others ok
beware that all of them are not experts at starting itself ok!!!!!!
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 238
Location: USA

PostPosted: Tue Sep 16, 2003 1:16 pm    Post subject:
Reply with quote

Hello muthukrishnan,

I think you are new to the discussion forums on the web,

There were 2 reasons why i asked you these questions:

1) The question I asked you was just out of the suspicion as the questions you asked were of very basic level.

Nowadays, the proxy users from other forums log on to the sites and try to create a difficult situation to the forum users by asking very basic level questions (which can be found in any manual)

If anybody who is genuine will definately get an answer to the questions posted.


2) The answers given would depend on your level of experience. Little experience would dictate detailed answers, lots of experience dictates very brief answers

There was no personal intention in asking the questions.
No hard feelings please.

Hope I made myself clear, feel free to ask anything.


Regards

Mayuresh Tendulkar
Back to top
View user's profile Send private message
muthukrishnan

New User


Joined: 12 Sep 2003
Posts: 4

PostPosted: Tue Sep 16, 2003 2:32 pm    Post subject: ok
Reply with quote

hi
ok will ask only the difficult problems
muthu
Back to top
View user's profile Send private message
sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 151
Location: Tokyo, Japan

PostPosted: Thu Dec 04, 2003 2:24 pm    Post subject:
Reply with quote

Hi M,

Please don't behave like childish...No one is restricting you to post simple questions. Experts have also started from simple ideas.

You have aske how to define a dataset ?
It can be answered in a lot of way - both simple and in harder way.
If you are a novice probably Mayuresh will tell you to use ISPF option 3.2 to allocate a dataset. If you are a little bit of experienced then probably you will get an answer regarding allocating datasets using JCLs. A little bit more experience will give you the option of allocating through Cobol programs also...and many other harder way.
Here your requirement is not clear and so Mayuresy had asked your ability to grab the answer.

regards,
Sandip.
Back to top
View user's profile Send private message
mf_user
Currently Banned

New User


Joined: 05 Jan 2006
Posts: 47

PostPosted: Fri Mar 10, 2006 12:48 pm    Post subject:
Reply with quote

Hi Jack,

The piece of infomation you've provided here is really new to me. I have leisure time now so, started exploring the site to acquire knowledge.

Nice stuff.

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 Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am


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