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
 

 

Using IDCAMS utility, can we create non vsam file

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

New User


Joined: 24 Jul 2005
Posts: 28

PostPosted: Sun Jul 31, 2005 4:50 pm    Post subject: Using IDCAMS utility, can we create non vsam file
Reply with quote

Hi,

Using IDCAMS utility, can we create non vsam file.
if yes, can any one give the jcl for that.


Thanks & Regards
Hari.
Back to top
View user's profile Send private message

sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 183
Location: hyderabad

PostPosted: Sun Jul 31, 2005 11:31 pm    Post subject:
Reply with quote

Hi Hari,
Try the below code to create an FB or VB file.You can change the file characters as per your requirement.

//STEP010 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//IN DD *
//OUT DD DSN=xxx.yy.zzz,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(CYL,(X,Y),RLSE),
// LRECL=ZZZ,RECFM=FB
//SYSIN DD *
REPRO IFILE(IN) OFILE(OUT)
/*

Thanks
Krishy
Back to top
View user's profile Send private message
harinatha

New User


Joined: 24 Jul 2005
Posts: 28

PostPosted: Tue Aug 02, 2005 11:58 pm    Post subject: Re: Using IDCAMS utility, can we create non vsam file
Reply with quote

Thanks Krishy...
Back to top
View user's profile Send private message
crrindia

Active User


Joined: 02 Jul 2005
Posts: 124
Location: Gurgaon

PostPosted: Wed Aug 03, 2005 8:59 am    Post subject: to create a non vsam file using idcams
Reply with quote

Hi Krishy, actually hari is asking that by using idcams can we create a non vsam file or not. if yes, then he is asking that jcl. but you have given the jcl is to copy a data from one file to another.

krishy if you don't mind why don't you give that jcl? because right now i have no idea on that.

thanks,
Rathna Reddy.

sril.krishy wrote:
Hi Hari,
Try the below code to create an FB or VB file.You can change the file characters as per your requirement.

//STEP010 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//IN DD *
//OUT DD DSN=xxx.yy.zzz,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(CYL,(X,Y),RLSE),
// LRECL=ZZZ,RECFM=FB
//SYSIN DD *
REPRO IFILE(IN) OFILE(OUT)
/*

Thanks
Krishy
Back to top
View user's profile Send private message
Rajr

New User


Joined: 18 Aug 2005
Posts: 4

PostPosted: Thu Aug 25, 2005 12:56 pm    Post subject:
Reply with quote

Hi,
Here is the jcl to create non-vsam dataset using IDCAMS utility

//USERIDC JOB (ACCTNO),'TESTJCL',
// MSGCLASS=T,CLASS=S,NOTIFY=&SYSUID
//STEP1 EXEC PGM=IDCAMS
//TESTDD DD DSN=USERID.TEST.TEST,DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(2,2)),DCB=(RECFM=FB,BLKSIZE=0,LRECL=80)
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//

Regards,
Ram
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am


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