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
 

 

copy entire file the first 20 char from starting using filea

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

New User


Joined: 25 Apr 2005
Posts: 21
Location: delhi

PostPosted: Thu Dec 01, 2005 4:53 pm    Post subject: copy entire file the first 20 char from starting using filea
Reply with quote

hi everybody,

i have been asked one question in one interview
i have a file of fix record length 80 char
i wish to copy entire file the first 20 char from starting using fileaid

can any body tell me the FA option for this....
Back to top
View user's profile Send private message

iknow

Active User


Joined: 22 Aug 2005
Posts: 413
Location: Colarado, US

PostPosted: Thu Dec 01, 2005 10:59 pm    Post subject: Re: file aid option
Reply with quote

Hi Manitesh_kumar,


From FileAID primary option menu, make use of Option 3.3.Copy (Selective record copying for all file types including PDS members).

Hope this helps.

Correct me if I am wrong.
Back to top
View user's profile Send private message
Ramya A

Active User


Joined: 26 Jul 2004
Posts: 104

PostPosted: Fri Dec 02, 2005 4:48 am    Post subject:
Reply with quote

Inside option 3.3 of fileaid, give:

Selection criteria usage ===> T

Then use option 1 where you'll have to give the following:

Number of records to select ===> 20
Back to top
View user's profile Send private message
venkat_India

New User


Joined: 18 Dec 2005
Posts: 7

PostPosted: Tue Jan 03, 2006 3:46 pm    Post subject: Re: copy entire file the first 20 char from starting using f
Reply with quote

Hi Ramya,
Your answer copies 20 records..but not 20 chars .
Back to top
View user's profile Send private message
manitesh.kumar
Currently Banned

New User


Joined: 25 Apr 2005
Posts: 21
Location: delhi

PostPosted: Tue Jan 03, 2006 3:51 pm    Post subject:
Reply with quote

hi all,
can any body tell me how to overcome this tag with my name

Warnings : 1
Back to top
View user's profile Send private message
mak_tcs

New User


Joined: 23 Nov 2005
Posts: 69
Location: Minneapolis, MN USA

PostPosted: Mon Jan 30, 2006 3:13 pm    Post subject:
Reply with quote

Hi Manitesh_kumar,

I know a crude method for solving ur problem. First create a Flat file of Record Length 20, then U try to copy a file to this Flat file using File-Aid.
Only 20 characters of the mother file will be copied to the child file but ofcourse U will get a warning '"FROM" DATASET SPE RCD(S) TRUNCATED/PADDED'

Cool!!

Thanks,

Mani
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 HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
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