Page 1 of 1

Formatted File Aid 'view' to Notepad?

Posted: Wed Jun 10, 2015 11:05 am
by Md Ansari
Hi,

Is there a way using which we can bring the formatted File-aid mapping with the copybook to a notepad. I need to create document for future reference and there I need this mspping to show.

Please help.

Re: Formatted File Aid 'view' to Notepad?

Posted: Wed Jun 10, 2015 11:37 am
by enrico-sorichetti
save the <report> to a sequential file, after that transfer it to Your workstation
( ask Your support about doing it according to Your organisation ways )

Re: Formatted File Aid 'view' to Notepad?

Posted: Wed Jun 10, 2015 3:19 pm
by nicc
Or if it is not too big, cut'n'paste

Re: Formatted File Aid 'view' to Notepad?

Posted: Fri Jun 12, 2015 4:41 pm
by Md Ansari
enrico-sorichetti wrote:save the <report> to a sequential file
Thanks but How do I do that?

Re: Formatted File Aid 'view' to Notepad?

Posted: Fri Jun 12, 2015 6:56 pm
by enrico-sorichetti
Thanks but How do I do that?
RTFM

Re: Formatted File Aid 'view' to Notepad?

Posted: Wed Jun 17, 2015 1:52 pm
by Md Ansari
Hi,

Thanks all. I've used the folloiwng Job and got it working:

Code: Select all

//STEP01   EXEC PGM=FILEAID                                        
//* 
//SYSLIST  DD  DSN=OUTPUT.FILE,              
//             DISP=(NEW,CATLG,DELETE),                                  
//             UNIT=???,                                                
//             SPACE=(CYL,(X,Y),RLSE),                                  
//             DCB=(RECFM=FBA,LRECL=133,BLKSIZE=0)                    
//SYSUDUMP DD  SYSOUT=*                                                  
//SYSPRINT DD  SYSOUT=*                                                  
//SYSTOTAL DD  SYSOUT=*                                                  
//DD01     DD  DSN=INPUT.FILE,                    
//             DISP=SHR                                                  
//DD01M    DD  DSN=COPYLIB.PDS,                      
//             DISP=SHR                                                  
//DD01O    DD  SYSOUT=*                                                  
//SYSIN    DD  *                                                        
$$DD01 FPRINT MAP=COPYLIB MEMBERNAME,OUT=0 
//* 
MEMBERNAME is the copybook.

Re: Formatted File Aid 'view' to Notepad?

Posted: Wed Jun 17, 2015 5:08 pm
by Anuj Dhawan
Thanks Md Ansari for posting back what has worked for you.

Appreciate your time! :)