Difference between revisions of "DSPF"

From MidrangeWiki
Jump to: navigation, search
m
m (formatting)
 
Line 12: Line 12:
 
exec=Yes|
 
exec=Yes|
 
threadsafe=No}}
 
threadsafe=No}}
The Display File command, '''DSPF''', is used to display[[stream file]]s or [[database file]] members.
+
The Display File command, '''DSPF''', is used to display [[stream file]]s or [[database file]] members.
  
 
==Uses==
 
==Uses==

Latest revision as of 18:37, 31 October 2010

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