Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
Author Message
harinatha

New User


Joined: 24 Jul 2005
Posts: 31

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
References
sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 162
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: 31

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: 123
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1