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
 

 

IBM Filemanager to copy data from one file to another

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
ant1271

New User


Joined: 19 Apr 2007
Posts: 9
Location: Richmond

PostPosted: Fri Aug 10, 2007 9:26 pm    Post subject: IBM Filemanager to copy data from one file to another
Reply with quote

Hi, i am trying to find a way to copy selected fields from a flat file into another flat file using IBM file manager. Currently i am doing it using FileAid, but my organisation has decided to part ways with fileaid. Has anyone used IBM file manager in this regard. Appreciate you help on this.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Aug 10, 2007 10:02 pm    Post subject:
Reply with quote

Hello and welcome to the forums,

If you search a bit you may find some topics that do this with File Manager.

If you look in DFSORT, there are several examples of copying selected data using the sort and/or icetool. Does your system use DFSORT or Syncsort or ?

If you would like to pursue this using your sort product, please post back and your topic can be moved.
Back to top
View user's profile Send private message
ant1271

New User


Joined: 19 Apr 2007
Posts: 9
Location: Richmond

PostPosted: Fri Aug 10, 2007 10:31 pm    Post subject:
Reply with quote

I hope they allow me to do so. Yes sir, you can move my topic, but i am failing to search more topic to do with the help of file manager.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Aug 10, 2007 11:31 pm    Post subject:
Reply with quote

Hello,

Yes, we don't have a lot of discussion about File Manager.

Does your system use DFSORT, Syncsort, or some other product?

Depending on which product you use, i'll relocate your topic.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Fri Aug 10, 2007 11:50 pm    Post subject:
Reply with quote

Use this link to display the Bookshelves for the different releases of FILE MANAGER. When you know the release that you are running at your shop, pick a shelf and I'd start with the USER's Guide.
Back to top
View user's profile Send private message
Gursharan Khalsa

New User


Joined: 04 Sep 2007
Posts: 33
Location: Salinas

PostPosted: Thu Jul 16, 2009 3:57 pm    Post subject: opening two sessions of file manager
Reply with quote

hi,
i was earlier using FILEAID , where I used to open more than one sessions,but with file manager I am able to open only one session.Can I open more than 1 session of filemanager?

thanks in advance
Back to top
View user's profile Send private message
Biswajit D

New User


Joined: 17 Apr 2012
Posts: 50
Location: India

PostPosted: Fri Jun 15, 2012 7:17 pm    Post subject:
Reply with quote

was browsing thru the forum and lost my way to this post...

what you need can definitely be done using FM...goto FM - option 3.3... fill in your dataset and layout details and edit the template...
Code:
 ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
 File Manager                     Copy Utility                                 
 Command ===>                                                                   
                                                                               
 From Partitioned, Sequential or VSAM Data Set, or HFS file:                   
    Data set/path name  . . 'XX.X.XXXXXX.FILE'                              +   
    Member  . . . . . . . .            (Blank or pattern for member list)       
    Volume serial . . . . .            (If not cataloged)                       
    Start key . . . . . . .                                key or slot         
    Skip count  . . . . . .            Include            Repeat skip           
    Copy count  . . . . . . ALL        number of records to be copied           
 From Copybook or Template:                                                     
    Data set name . . . . . 'XX.X.XXXXXX.PDS'                                   
    Member  . . . . . . . . LAYOUT       (Blank or pattern for member list)     
 Processing Options:                                                           
    Copybook/template    Enter "/" to select option                             
    1  1. Above             Batch execution           Advanced member selection
       2. None              Use proc                  Skip member name list     
       3. Create dynamic    Ignore length mismatch    REXX member selection: P 
    /  Edit template        JCL Source format         Directory integrity       
       Type (1,2,S)         Export mode               Report PDS record counts 
                                                      Binary mode, reclen       

now put a 'S' in front of the field you want and hit Enter... now copy the file and check your output... the output will have only the selected field...
Code:
Cmd Seq SHE   Ref Field Name                      Picture     Type Start Length
                  ****  Top of data  ****                                     
                1 1 LAYOUT                                    AN      1   4080
 s              2  2 FIELD1                       99           BI     -3      2
                3  2 FIELD2                       99           BI     -1      2
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 -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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