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

Difference in creating a DataSet


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 237
Location: USA

PostPosted: Sat Sep 13, 2003 1:31 pm
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
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
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: 237
Location: USA

PostPosted: Tue Sep 16, 2003 1:16 pm
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
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: 150
Location: Tokyo, Japan

PostPosted: Thu Dec 04, 2003 2:24 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top