Difference between revisions of "DSPF"

From MidrangeWiki
Jump to: navigation, search
m
Line 1: Line 1:
{{AN}} is the attribute associated to [[*FILE]] objects that are [[Files#Display_Files|display files]].
+
[[Category:Commands]]
 +
{{Command Infobox|
 +
command=DSPF|
 +
command_title=Display File|
 +
parameters=STMF(<nowiki>'</nowiki>streamfile<nowiki>'</nowiki>)<br>''or''<br>FILE(library/filename)<br>MBR(membername)|
 +
job_batch=No|
 +
job_inter=Yes|
 +
pgm_batch=No|
 +
pgm_inter=Yes|
 +
rexx_batch=No|
 +
rexx_inter=Yes|
 +
exec=Yes|
 +
threadsafe=No}}
 +
The Display File command, '''DSPF''', is used to display[[stream file]]s 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:
 +
:<pre>DSPF STMF('/home/filename.txt')</pre>
 +
*Using DSPF to display a database member:
 +
:<pre>DSPF FILE(library/filename) MBR(membername)</pre>
  
 
==Categories==
 
==Categories==
[[Category:Definitions]]
 
{{stub}}
 

Revision as of 14:49, 30 March 2007

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 displaystream 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