Скачать презентацию Natural 6 Tips n Techniques Chad Scott C Скачать презентацию Natural 6 Tips n Techniques Chad Scott C

2cfdb983ffff0fe02296fff3a91254f4.ppt

  • Количество слайдов: 22

Natural 6 Tips ‘n’ Techniques Chad Scott C. Scott@FCL. ca Ralph Zbrog RGZbrog@ZZUtils. com Natural 6 Tips ‘n’ Techniques Chad Scott C. Scott@FCL. ca Ralph Zbrog RGZbrog@ZZUtils. com Natural Conference 2006 Natural 6 Tn. T

Program Editor ¢ Avoiding long source lines Lines up to 250 characters l Set Program Editor ¢ Avoiding long source lines Lines up to 250 characters l Set ruler position to 72 for mainframe compatibility l Tools Options. . . Program Editor Ruler Position l Natural Conference 2006 2 Natural 6 Tn. T

Program Editor ¢ Font size Coding vs presentation l Tools Options. . . Program Program Editor ¢ Font size Coding vs presentation l Tools Options. . . Program Editor Font. . . Size l • Coding: Courier New, 10 • Presentation: Lucida Console, 16 ¢ Output window, editors (not Dialogs) Natural Conference 2006 3 Natural 6 Tn. T

Program Editor Mainframe convention: uppercase source with (optional) mixed-case literals ¢ Windows compatibility ¢ Program Editor Mainframe convention: uppercase source with (optional) mixed-case literals ¢ Windows compatibility ¢ Tools Options. . . Program Editor Uppercase translation l Tools Options. . . Program Editor Ignore text constants l ¢ External object names CALLNAT ‘d 2 optsub’ l CALLNAT “d 2 optsub” l Natural Conference 2006 4 Natural 6 Tn. T

Program Editor ¢ List or edit external object via context menu Left-click object name Program Editor ¢ List or edit external object via context menu Left-click object name ctrl-o l Right-click object name Open l Right-click object name List l Natural Conference 2006 5 Natural 6 Tn. T

Shortcut Keys ctrl-m – convert block to comments ¢ shift-ctrl-m – reverse ctrl-m ¢ Shortcut Keys ctrl-m – convert block to comments ¢ shift-ctrl-m – reverse ctrl-m ¢ Help Contents Getting Started: Using Natural Studio Shortcut Keys ¢ Natural Conference 2006 6 Natural 6 Tn. T

Screen Images ¢ Program editor l Line numbers • Program Editor Options toolbar • Screen Images ¢ Program editor l Line numbers • Program Editor Options toolbar • Tools Options. . . Program Editor Line numbers ctrl-c to copy l ctrl-v to insert l ¢ Output window %c program editor l %h select target l Natural Conference 2006 7 Natural 6 Tn. T

Folders ¢ Filters Limit library display within FUSER/FNAT l Limit module display within library Folders ¢ Filters Limit library display within FUSER/FNAT l Limit module display within library l Right-click folder Display Filter. . . specify wildcards l + indicates active filters l Natural Conference 2006 8 Natural 6 Tn. T

Folders ¢ Module transfer (without Object Handler) Source and/or object l Export module l Folders ¢ Module transfer (without Object Handler) Source and/or object l Export module l • Drag-n-drop module from Library workspace to directory or desktop • Faster than copy/paste • edit ctrl-a ctrl-c ctrl-v save as l Import module • Drag-n-drop module from directory or desktop to Library workspace Natural Conference 2006 9 Natural 6 Tn. T

Folders ¢ Upload to mainframe l Change NSx extension to TXT for upload/FTP //LOAD Folders ¢ Upload to mainframe l Change NSx extension to TXT for upload/FTP //LOAD EXEC NATBT, SYSOUT=*, TIME=50, PRM='AUTO=ON, SL=80, MAINPR=1, PS=65' //CMSYNIN DD *, BLKSIZE=27948 %L LOGON natlib EDT /* // DD DSN=ZBROG. PUNCH(####), DISP=SHR FB/102 // DD *. E SA #### FIN /* // Natural Conference 2006 10 Natural 6 Tn. T

Folders ¢ Download from mainframe Extract from mainframe FUSER (ZZPUNCH) l Set file extension Folders ¢ Download from mainframe Extract from mainframe FUSER (ZZPUNCH) l Set file extension to TXT for download/FTP to directory l Set file extension to NSx, where x represents module type l Natural Conference 2006 11 Natural 6 Tn. T

FTOUCH Software AG warns strongly against any external manipulation of FUSER directories and contents FTOUCH Software AG warns strongly against any external manipulation of FUSER directories and contents ¢ FTOUCH utility provided as last resort to correct data corruption in FILEDIR. SAG ¢ Exceptions? ¢ Automated backup & recovery l Deleting library contents (client vs server) l Natural Conference 2006 12 Natural 6 Tn. T

Backup Directory ¢ Directory name template l Configuration Utility Natural Parameter Files NATPARM Natural Backup Directory ¢ Directory name template l Configuration Utility Natural Parameter Files NATPARM Natural Execution Configuration Workfiles 1 C: Documents and Settings. . . Nat. Backupnat 06 mmdd. sag Invoke Object Handler l Simply overtype mmdd l Natural Conference 2006 13 Natural 6 Tn. T

Backup Directory ¢ Works for Object Handler and SYSTrans Natural Conference 2006 14 Natural Backup Directory ¢ Works for Object Handler and SYSTrans Natural Conference 2006 14 Natural 6 Tn. T

Program Load ¢ Buffer Pool Search First Indicator l Set OFF in development environment Program Load ¢ Buffer Pool Search First Indicator l Set OFF in development environment • Configuration Utility Natural Parameter Files NATPARM Natural Execution Configuration Program Loading/Deletion BPSFI OFF Natural Conference 2006 15 Natural 6 Tn. T

Start-up Program ¢ At Natural initiation (one-time) l ¢ Configuration Utility Natural Parameter Files Start-up Program ¢ At Natural initiation (one-time) l ¢ Configuration Utility Natural Parameter Files NATPARM Natural Execution Configuration Program Loading/Deletion STACK HELLO In place of NEXT prompt l Configuration Utility Natural Parameter Files NATPARM Natural Execution Configuration System Variables STARTUP HELLO Natural Conference 2006 16 Natural 6 Tn. T

Session Parameters ¢ Persistence (Windows-only) During familiarization with Studio, session parameter adjustments may be Session Parameters ¢ Persistence (Windows-only) During familiarization with Studio, session parameter adjustments may be made l PERSIST configuration parameter causes session parameters to be saved for next session l • Configuration Utility Natural Parameter Files NATPARM Natural Execution Configuration Program Loading/Deletion PERSIST Natural Conference 2006 17 Natural 6 Tn. T

Configuration Utility START All Programs Software AG Natural 6. 2. 2 Configuration Utility ¢ Configuration Utility START All Programs Software AG Natural 6. 2. 2 Configuration Utility ¢ C: Program FilesSoftware AG Natural6. 2Binnatparm. exe ¢ Natural Conference 2006 18 Natural 6 Tn. T

Date & Time Initialization ¢ Corrected in 6. 2 Natural Conference 2006 19 Natural Date & Time Initialization ¢ Corrected in 6. 2 Natural Conference 2006 19 Natural 6 Tn. T

Questions Natural Conference 2006 20 Natural 6 Tn. T Questions Natural Conference 2006 20 Natural 6 Tn. T

Fin Natural Conference 2006 21 Natural 6 Tn. T Fin Natural Conference 2006 21 Natural 6 Tn. T

Natural 6 Tips ‘n’ Techniques Chad Scott C. Scott@FCL. ca Ralph Zbrog RGZbrog@ZZUtils. com Natural 6 Tips ‘n’ Techniques Chad Scott C. Scott@FCL. ca Ralph Zbrog RGZbrog@ZZUtils. com Natural Conference 2006 Natural 6 Tn. T