Previous Topic: #PUTSCR Status CodesNext Topic: @READY—prepares a database area for access by DML functions


#PUTSCR Example

The following example of the #PUTSCR statement stores a scratch record containing the data in SCR605 in the dictionary. The length of the record is contained in the fullword field SCRLN1. SCRID1 is the ID of the scratch area into which the record will be stored.

#PUTSCR RECORD=SCR605,RECLEN=SCRLN1,SAID='SCRID1'