MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Reformat using File-Aid

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Rajkannan
Beginner


Joined: 02 Jun 2004
Posts: 64
Topics: 31

PostPosted: Tue Nov 04, 2008 7:40 am    Post subject: Reformat using File-Aid Reply with quote

Hi ,

I am trying to reformat a file using file-aid.

My Current JCL is
Code:

//JS10     EXEC PGM=FILEAID,REGION=6M     
//SYSPRINT DD  SYSOUT=*                   
//SYSLIST  DD  SYSOUT=*                   
//DD01     DD  DSN=XXX288.SHAMANTH.TEST,   
//             DISP=SHR                   
//DD01O    DD  DSN=XXX288.SHAMANTH.TEST1, 
//             DISP=OLD                   
//DD01RF   DD  DSN=XXX288.ZZZ.XREF(TEST1),
//             DISP=SHR                   
//SYSIN    DD  *                           
$$DD01 REFORMAT OUT=0,REFOUT=ALL           
/*                                         
//


Getting the below error:
Code:

$$DD01 REFORMAT OUT=0,REFOUT=ALL                           
ABOVE FUNCTION ENDED ON DD01R IS NOT A REFORMAT DEFINITION
  RECORDS-READ=1                                           
                                                           
0 RECORDS WRITTEN TO DD01O-XXX288.SHAMANTH.TEST1           

My XXX288.ZZZ.XREF is VB with LRECL
DD01RF   DSN=XXX288.ZZZ.XREF(TEST1) OPENED AS PO,         
             RECFM=VB,LRECL=1576,BLKSIZE=27998

Job ended with RC = 8 and No records copied

Please help.

Thanks
Raj
Back to top
View user's profile Send private message Send e-mail
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue Nov 04, 2008 4:14 pm    Post subject: Reply with quote

What are the full contents of your DD01RF member? How was it created?
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group