Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File assign question

Status
Not open for further replies.

Dan01

Programmer
Jun 14, 2001
439
US
SELECT INPUT-FILE ASSIGN TO 'FAR5001I,DA'.

Does anyone have an idea what the ,DA means? Thanks, Dan.
 
Hi,

on what platform (operating system + compiler) are you working?

Regards,

Crox
 
Old IBM360 Syntax supported by HP for compatibility!

The format for the ASSIGN verb is(maybe was) ASSIGN name,class,recording mode,device,file-size,formsmessage,L

DA for direct access, UT for Utility UR for Unit Record
The "DA" was for "Direct Access" and that meant "non-sequential".

Example below.

000100 SELECT CUSTOMR-SALES
000110 ASSIGN TO "CUSTSL,DA,A,DISC,,10000,,"
000120 ORGANIZATION IS INDEXED
000130 ACCESS MODE IS DYNAMIC
000140 RECORD KEY IS CSR-KEY

Hope this helps.
Greg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top