DSPF

From MidrangeWiki
Jump to: navigation, search
DSPF
Display File
Parameters: STMF('streamfile')
or
FILE(library/filename)
MBR(membername)
Environments:
Batch Interactive
Jobs: No Yes
Programs: No Yes
REXX: No Yes
Exec: Yes
Threadsafe: No

The Display File command, DSPF, is used to display stream files or database file members.

Uses

  • Note: Database files with record lengths exceeding 4096-bytes cannot be displayed with DSPF.

Examples

  • Using DSPF to display a stream file:
DSPF STMF('/home/filename.txt')
  • Using DSPF to display a database member:
DSPF FILE(library/filename) MBR(membername)

Categories