IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Using IDCAMS utility, can we create non vsam file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Binary File format getting change whi... All Other Mainframe Topics 5
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top