Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : programming pearls - The fastest algorithm can frequently be replaced by one that is almost as fast and much easier to understand.

Google
 
Web mainframegurukul.com

Welcome to the mainframegurukul forums.

You are currently viewing our mainframe forums as a guest which gives you limited access to view most discussions, articles. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support at admin@mainframegurukul.com


IDCAMS

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL
  View previous topic :: View next topic  
Author Message
ibmlearner
Member


Joined: 02 Dec 2006
Posts: 13

PostPosted: Thu Dec 07, 2006 5:45 pm    Post subject: IDCAMS Reply with quote

HI ALL.

can we create a dataset by using IDCAMS utility???

my JCL...

//ABC123DE JOB (ACCT#),NOTIFY=&SYSUID
//STEP0A EXEC PGM=IDCAMS
//DD1 DD DSN=TEST0001.TEST01.PDS , DISP=(NEW,KEEP)
// UNIT=SYSDA,
// SPACE=(TRK,(1,1),RLSE)
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=800)
//
_________________
Thanks & Regards
-------------------------
Learner
Back to top
View user's profile Send private message Send e-mail

Leo
Member


Joined: 14 Nov 2006
Posts: 13
Location: HYBD

PostPosted: Fri Dec 08, 2006 9:13 pm    Post subject: Reply with quote

Hi Leaner

you can create a data set using IDCAMS , but there are a few correction to your JCL , IDCAMS requires a SYSIN and SYSPRINT DD names . eg

/STEP010 EXEC PGM=IDCAMS
/DD1 DD DISP=(NEW,CATLG,DELETE),
/ DSN=&NODE1..&NODE2..&NODE3..&NODE4..LEO,
/ SPACE=(CYL,(100,100),RLSE),
/ DCB=(LRECL=100,RECFM=FB,BLKSIZE=0),UNIT=SYSDA
/SYSIN DD DUMMY
/SYSPRINT DD DUMMY

Thanks
Leo
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts job from spool area 4 safia_shaheen 7694 Thu Aug 30, 2007 5:54 pm
sudhakar.kataru View latest post
No new posts accessing net via job 2 Tejas 2265 Sat Jun 02, 2007 4:12 pm
Tejas View latest post
No new posts Reg my Job search 1 ursvmg 2009 Sat Apr 21, 2007 4:35 am
Veera View latest post
No new posts Need information regarding job openings in USA on Mainframes 2 rayala_uday 2215 Thu Apr 19, 2007 6:58 am
rayala_uday View latest post
No new posts Sending the user a message when job abends? 2 LRevell 4389 Sat Feb 03, 2007 1:30 am
LRevell View latest post
 



This widget requires Flash Player 9 or better








Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB