Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | dish | |
Module | dish | |
Tool | sditerator |
sdit | in | An sditerator | |
Allowed: | sditerator tool | ||
selection | in | Record describing any selections to do on opening | |
Allowed: | Glish record | ||
Default: | [=] |
sdit := sditerator("a302_SP"); selrec := [=]; selrec.header := [=]; selrec.header.source_name := "My source"; sditSource := sditfromsdit(sdit,selrec)
The first line opens an existing data set. The rest make another sditerator by making and applying a selection record to the first iterator. In this example, sources matching the indicated name are selected. The resulting iterator will only have sdrecords which match that selection criteria.