September 15

EDTDTAARA – Edit Data Area

EDTDTAARA – Edit Data Area

What the heck is a DATA AREA?

An IBM i Data area is not the same thing as a file: it is a simple fast data storage area on the system.

There are two types of data area (a) a user-defined data which we create and (b) a system-defined data area that we cannot create but we can edit.

System defined data area is a temporary storage area that means we can store data in that and if the data is retrieved that retrieved data will expire. These data areas can not be created and deleted by user but the user can add data to these data areas, retrieve and display.

System defined data areas are of 3 types

1.Local data area (LDA): These are created automatically by each and every job(batch or interactive)

2.Group data area (GDA): These are created automatically by a group of jobs

3.PIP(program initialize parameter) data area(PDA): These are created for use at the time of starting a job from its abnormal termination

User-defined data area is a permanent storage area that means we can store data permanently it can be retrieved as many times as we need. These data areas can be created, displayed, changed(edit), retrieved and deleted. For any data area retrieving is only possible by some programming only.

The commands to user Data areas are:

  • CRTDTAARA :For creation
  • DSPDTAARA :For display
  • CHGDTAARA :for adding and editing
  • RTVDTAARA :For retrieving data
  • DLTDTAARA :For deleting the data area

Have you noticed the glaring absence of a command to view and interactively edit a data areas contents?

edtdtaara

The Edit Data Area allows you to view the data area contents while you change them. This is much simpler than having to mark the start/end positions of the data and using the CHGDTAARA command.

edtdtaara

This utility also works for *LDA and *GDA.


Tags

command, edtdtaara


You may also like

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Get in touch

Name*
Email*
Message
0 of 350
>