IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

copy entire file the first 20 char from starting using filea


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
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
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: 411
Location: Colarado, US

PostPosted: Thu Dec 01, 2005 10:59 pm
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts how to eliminate null indicator value... DB2 7
No new posts Use Copy Utility DB2 7
No new posts sort to find out the char which repea... Mainframe Interview Questions 10
No new posts Format Binary file to EBCDIC JCL & VSAM 4
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
Search our Forums:

Back to Top