Difference between revisions of "Snippets"
Line 5: | Line 5: | ||
− | === | + | ===Snippets RPG === |
original post [http://archive.midrange.com/wdsci-l/200602/msg00405.html] | original post [http://archive.midrange.com/wdsci-l/200602/msg00405.html] | ||
Line 22: | Line 22: | ||
Return to [[#TOP]] | Return to [[#TOP]] | ||
+ | |||
+ | ===Open Snippets View === | ||
+ | |||
+ | original post [http://archive.midrange.com/wdsci-l/200707/msg00091.html] | ||
+ | |||
+ | I use snippets for RPGLE, CLLE, DSPF and PRTF source members. I am | ||
+ | currently using version 7 but I started with snippets in version 6. | ||
+ | |||
+ | -Right-click in the Snippets view and select Customize | ||
+ | -Click the New button and create a new category | ||
+ | -Click the New button and create a new snippet | ||
+ | -Click on the snippet and then click the New button adjacent the | ||
+ | Variables list | ||
+ | -Enter your snippet and use the Insert Variable Placeholder button to | ||
+ | add the variable | ||
+ | |||
+ | Return to [[#TOP]] | ||
+ | |||
+ | |||
==External links== | ==External links== |
Revision as of 01:46, 7 February 2008
SNIPPETS
Snippets RPG
original post [1]
I noticed that you can use the snippets to insert stuff into your program, even though you cannot select parts of your source and add it to the snippets.
To create your own RPG snippets, you can open the view in RSE or iSeries Editing perspective, select your source, and right click / Past in the snippets view. It will then create a new template.
As a side question to the IBM'ers: how can I enable the snippets (or any other) view in WDSC Lite? In the full-blown version it's under Basic, but in Lite it's not there to select.
Return to #TOP
Open Snippets View
original post [2]
I use snippets for RPGLE, CLLE, DSPF and PRTF source members. I am currently using version 7 but I started with snippets in version 6.
-Right-click in the Snippets view and select Customize -Click the New button and create a new category -Click the New button and create a new snippet -Click on the snippet and then click the New button adjacent the Variables list -Enter your snippet and use the Insert Variable Placeholder button to add the variable
Return to #TOP
External links
The official WDSC web page [3]
The WDSC Developer blog [4]
WDSC tags on del.ici.ous [5]