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

i want a program using by if, evaluate , string, unstring, perform, occurs?

4655


What are the rules of the move verb?

1213


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

1096


Mention the guidelines to write a structured cobol program?

1045


Write some characteristics of cobol as means of business language.

1098


What are 77 levels used for?

1072


Describe the cobol database components?

1135


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1123


What is the difference between perform … with test after and perform … with test before?

1384


What is a report item?

1105


What is amode(24)?

1198


i need a small 3d program using inline and outline.

2180


how do you reference the fixed unblock file formats from cobol programs

1185


How do get the result of your program directly on your pc?

2304


Write a program to enter and display the names of students in a class using the occurs clause.

1166