IDCAMS

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
User avatar
ibmlearner
Member
Posts: 13
Joined: Sat Dec 02, 2006 5:57 pm

IDCAMS

Post by ibmlearner » Thu Dec 07, 2006 5:45 pm

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

User avatar
Leo
Member
Posts: 13
Joined: Tue Nov 14, 2006 12:02 pm
Location: HYBD

Post by Leo » Fri Dec 08, 2006 9:13 pm

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

academyindia4

Topic deleted by Admin

Post by academyindia4 » Fri Jan 15, 2016 9:19 pm

<< Content deleted By Admin >>

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others