Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to move a file aid vfmt format output into flat file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
magesh23586

Active User


Joined: 06 Jul 2009
Posts: 159
Location: Chennai

PostPosted: Tue Dec 18, 2012 10:49 am    Post subject: How to move a file aid vfmt format output into flat file
Reply with quote

I have a file, which has lot of packed decimal format, I could view it via fileaid, i need the file aid output to be moved to a flat file, so that i can read the file directly, rather than going to file aid option, I need this because i need to export this file in readable format. Kindly help..
Code:

 File-AID - Edit - ZZZZZ.QUERY.RESULT ------------------ COLUMNS 0000
 COMMAND ===>                                                  SCROLL =
        xxxxxxxx YYYYYYY ZZZZZZZZ  qqQ      SDSDS    SDSDFSD  ASDFSDFA 
        2/BI     2/BI     2/BI     2/PS     3/PS     3/PS     3/PS     
        (1-2)    (3-4)    (5-6)    (7-8)    (9-11)   (12-14)  (15-17) 
        1------- 2------- 3------- 4------- 5------- 6------- 7-------
 ****** ***************************** TOP OF DATA ******************-CA
 000001       23     2011       11       25       65    41888    41888
 000002       23     2011       11       25       65    41452    41452


Advance thanks,
Magesh
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 18, 2012 12:07 pm    Post subject:
Reply with quote

You could use FA Batch to produce a file.
Back to top
View user's profile Send private message
magesh23586

Active User


Joined: 06 Jul 2009
Posts: 159
Location: Chennai

PostPosted: Tue Dec 18, 2012 12:36 pm    Post subject: Reply to: How to move a file aid vfmt format output into fla
Reply with quote

Thanks for the kind response.
Could you please explain how do i do that using FA Batch, You mean to say Fileaid ==> UTILITIES ==> INTERACTIVE, if yes where do i specify the Layout, or a copy book information ?

Tried this way, but doesnt help.

Code:

//STEP01   EXEC PGM=FILEAID                         
//*                                                 
//SYSUDUMP DD  SYSOUT=*                             
//SYSPRINT DD  SYSOUT=*                             
//SYSLIST  DD  SYSOUT=*                             
//SYSTOTAL DD  SYSOUT=*                             
//DD01     DD  DSN=xxxxx.QUERY.RESULT,DISP=SHR     
//DD01O    DD  DSN=xxxxx.QUERY.RESULT1,DISP=OLD   
//SYSIN    DD  DSN=xxxxx.R1.WORK(TABSEC),DISP=SHR 


Advance thanks,
Magesh
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 18, 2012 1:21 pm    Post subject:
Reply with quote

Probably you can tell FA to execute in batch in stead of foreground. Like in the reformat option (option 9?).
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 -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
This topic is locked: you cannot edit posts or make replies. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us