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...

How to read records from flat file in reverse order through
COBOL program?

Answer Posted / dimpy19

1. Using FileAid

//STEP0100 EXEC PGM=FILEAID

//SYSPRINT DD SYSOUT=*

//DD01 DD DSN=YOUR INPUT DATASET,DISP=SHR

//DD01O DD DSN=YOUR OUTPUT FILE IN REVERSE ORDER,

// DISP=(NEW,CATLG,DELETE),UNIT=SYSDA,

// SPACE=(CYL,(X,Y),RLSE)

//SYSIN DD *

$$DD01 COPYBACK

/*

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different open modes available in cobol?

1195


Differentiate between structured cobol programming and object-oriented cobol programming.

1159


Write some characteristics of cobol as means of business language.

1145


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2396


How do you get the data to code the BMS macro?

1975


Write the code implementing the perform … varying.

1076


How can you get the ksds file records into your cobol program?

1100


What is cobol?

1239


What is link edit in cobol?

1200


What is the difference between Call and a Link?

1199


How you can characterize tables in cobol?

1203


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1238


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1152


What are 77 levels used for?

1108


what happens if parmparameter passes zero bytes to the program

2134