Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I have a file which contains so many lines and variable
number of lines are treated as a record. For example

*first ooooo xxxxx
ttttt mmmm vvvvvvv
*end uuu bbbb
*first kkkkvvvvvv
nnnn mmmmm kkkkk
fffff gggg ffff
kkkk
lllll
*end.

Here the lines from *first to *end are treated as a record.
The number of lines between *first and *end is not same for
all the records.

Suppose there are 100 records (or number of records are not
predefined)like the format given in the above example. Now
the entire file needs to split into two files, first having
40 and remaining in the second file.
Can we split using sort utility? If possible then what is
the sort card?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Programming Code AllOther Interview Questions

how to write test case for a text field that should be mandatory

1 Answers   PayPal,


Find out the list of roles which gives access to all t-codes in SAP? Thanks in advance.

0 Answers  


Write a Program to find the number of words in a sentence.

0 Answers   InterGraph,


Write a Program to find the sum of digits of a given number until the sum becomes a single digit.

0 Answers   InterGraph,


what full form name of B.K.U.

0 Answers  


Beautiful is for 012345678 9 and a code for similar word containing the same alphabets

0 Answers  


utility used to obtain inform regarding the optimizes choice of access strategy for SQL stmts

1 Answers  


can any one give me code to keyed a flat file and used chain in RPGLE to search any item

0 Answers  


How many digit have a Polaris 1995 300c.c. 2x4 nad how many have a Polaris 2007 300 c.c 2x4? And what site I can check this information???

0 Answers   FlashTECH,


find out the list of users who have access to all t-codes starts with 'SU'? thanks in advance all.

0 Answers  


How to find the list of users who have two codes su01 and pfcg? thank in advance all.

0 Answers  


WORKING STORAGE 01 WS-LENGTH PIC 9(1) VALUE 5. 01 DFHCOMMAREA. COPY ABCDEF (COPYBOOK ABCDEF IS HAVING ONLY ONE VARIABLE OF LENGTH X (100).) .. PROCEDUER DIVISION. ... EXEC CICS XCTL PROGRAM (WS-PGM) COMMAREA (DFHCOMMAREA) LENGTH (WS-LENGTH) RESP (WC-RESPONSE) END-EXEC 1. What will be the value of EIBCALEN in program ABCDEF? 2. What will be length of commarea when in ABCDEF? 3. Will such a code thow any error while linking to called program? Thanks in Advance

0 Answers  


Categories