Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us