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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 1 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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