Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Compare yesterday's date to the one o... migusd SYNCSORT 7 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us