You are on page 1of 12
Condor Training Information Condor Editor Fall Seren Block Commands: Repeat (R) Ansert (1) Delete (D) Delete Block (DD) Delete Temporarily (X) Delete Temporarily Block (XX) Shift Left_( SL) Shift Right (SR) Copy (C) Copy Block (CC) Move (M) Move Block (IMM) Bottom ( BOT or B) - position to bottom of edit queue Cancel - cancels block commands CANCEL ALL,XX,SL,SR,CC,MM,DD,A,B,KK,KA,KB Change ( CHorC) - character string translation CHANGE /OLD/NEW/,SNUMI,SNUM2,ALL Del - delete a range of source records DEL SNUMI,SNUM2 End - cancel edit mode Fetch ~ split screen to view spooled text or console hardcopy Examples: FETCH LOG FETCH PRT,jobname FETCH RDR,387,4 (387=jobnum, A=class) Find (FIND or F) - find a character string Examples: FIND /ARGUMENT/ (find from the top) FIND OFF (ends FIND operation) FB /ARGUMENT/ (find from the bottom) F — /ARGUMENTY ,* (find from this point) F — /ARGUMENT/,ALL (will automatically xout all lines except for those containing the argument) _ once a find has been initiated, PF9 will continue the find function. once a find has been initiated, BWD will change the direction of the find to backwards. > — oncea find has been initiated, FWD will change the direction of the find to forwards. VY Hex - initiate hex mode full-screen input Input (INPUT or INP) - request system-prompted inserts INPUT SNUM,INCREMENT INPUT OFF (ends input command) Merge (MERGE or COPY ) - merge source code from other members MERGE FROMLIB,MEMBER,SNUM1,SNUM2 MERGE FROMLIB,MEMBER,ALL Mave - move records within edit queue MOVE SNUMI,SNUM2 (place cursor on line to move records after) Print - queue an edit queue to a local/remote printer PRINT ALL PRINT SNUMI,SNUM2 Qcopy - copy spooled data to the edit queue Examples: QCOPY PRT,jobname QCOPY RDR,387,A (387=jobnum, A~class) Recall (RECALL or REC or period [-]) ~ recalls the last line edit all the way back to the first line edit command in the edit session). Renum (RENUM or REN ) - renumber a source library member Reset - reset and count edit alterations RESET ON RESET OFF RESET OFF,PERM Save - save a modified source library member SAVE LIBR= ?, NAME>’ SEQ=?, ID=?, MODE=?, TYPE: Set ., set user attributes and defaults SET SNUML SET COUNT (1 to 8 signed number) SET COLS=COLUMN1,COLUMN2 or COLS-OFF SET NONUM=YES or NONUM=NO SET LOWER=YES or LOWER=NO SET TAB=CHAR | (characters of your choice) Split (SPLIT or SP) - will display 2 queued members at once on a Split screen. For a split screen, the PF keys are redefined as follows: PF1 - scroll top queue back 1 full page PF2 - scroll top queue forward { full page PF3 - scrolls both edit queues back 1 full page PF4 - scrolls bottom queue back 1 full page PRS - scrolls bottom edit queue forward 1 full page P¥6 - scrolls both edit queues forward { full page PF7, PF8 and PF9 affect only the edit queue where the Cursor is positioned. PF10 and PF 11 are disabled in split screen mode. PF12—saves both edit queues. Submit (SUBMIT or SUB or SU) - submit a batch job for execution Tabset (TABSET or TAB) - define logical tab sertings TABSET ON,(COL,COL,...COL) TABSET OFF Top (TOP or T) - position to top of edit queue Xout (XOUT or X) - restore temporarily deleted lines XOUT XOUT SNUM1,SNUM2 Edit Mode Program Function Keys: PFI = Scrolls screen backward a full soreen PF2 - Scrolls screen forward a full screen PF3. - Refreshes last display (same as ‘clear’) PF4 ~ Scrolls screen backward a half screen PFS - Scrolls screen forward a half screen PF6 - Renumbers source library (same as ‘renum”) PR7 ,- Changes trailing blanks/nulls with nulls/blanks PFS - Shifts screen left or right PF9 - Repeats last find operation PF10- Returns to prior active edit queue PF11 - Displays screen in hex (same as ‘hex) PF 12 ~ Saves source library member (same as ‘save") PA? - Terminates edit queue CLEAR - Refreshes last display (same as “PF3") CANCEL ~- Terminates edit queue (same as ‘PA2’) The above key assignments are the STANDARD key assignments. Some users prefer to use IBM key assignments so, in that case, refer to IBM documentation for key assignment functions, (R) Repeating Lines 1 Examples: ‘Type an ‘R’ followed by an optional number up to 99 over the Sequence number on the line you wish to repeat. Press the enter key. 000100 (repeats line 100 once) R0100 - 000100 (repeats line 100 twice) R2100 (1) Inserting Lines 1 2. Examples: ‘Type an ‘T’ followed by an optional number up to 99 over the Sequence number on the line you wish to insert lines after. Press the enter key. 000100 (inserts one line after line 100) 10100 000100 (inserts two lines after line 100) 2.100 (D) Deleting Lines 1 2. Example: ‘Type a ‘D’ over the sequence number of the line you wish to delete. Press the enter key. 100100 (deletes line 100) (DD) Deleting Block of Lines ‘Example: Type a ‘DD" over the first and last sequence numbers in the block of lines you wish to delete. Press the enter key DD0100 (deletes lines 100 thm 130) 000110 000120 DD0130 (XX) Temporarily Deleting Lines 1 Example: , XX0100 (temporarily deletes lines 100 thru 130) 000110 000120 XX0130 (SL) Shi 1 Type “X° over the first and Jast sequence numbers in the diock of lines you wish to temporarily delete. Or ‘Type ‘x? followed by an optional number up to 99 and a space to temporarily delete the number of lines. Press the enter key X4100 (temporarily deletes lines 100 thru 130) 000110 000120 000130 ifting a Block of Lines to the Left On the first line you want shifted to the left, type ‘SL followed By an optional equal sign and the number of column spaces you ‘Want the text shifted, and a space. If the equal sign or the mumbers Are omitted, condor shifts text only one position. Type ‘SL’ and a space on the last line you want shifted to the left, Press the enter key SLe80 (shifts lines 100 thru 130 8 positions to the left) 000110 000120 SL 130 (SR) Shitting a Block of Lines to the Right Example: On the first line you want shifted to the right , type ‘SR’ followed by an optional equal sign and the number of column spaces you ‘want the text shifted, and a space. If the equal sign or the numbers are omitted, condor shifts text only one position. Type ‘SR’ and a space on the last line you want shifted to the right. Press the enter key SR=8 0 (shifts lines 100 thru 130 8 positions to the right) ‘000110 000120 SR130 (C) Copying a Single Line 1 4. Examples: On the line you wish to copy, type 2 ‘C’ followed by an optional equal sign, and the number of times you want the line copied. If the equal sign or number is omitted, the line will only be copied once. To insert the line AFTER a record, type ‘A’, followed by an optional comma and an ‘R’ on the line you want the record to be copied after. If the comma or “R’ are omitted, Condor will * discontinue copying the line as soon as you hit the “enter” key. To insert the line BEFORE a record, type ‘B’, followed by an optional comma and an ‘R’ on the line you want the record to be copied before. If the comma or ‘R’ are omitted, Condor will discontinue copying the line as soon as you hit the ‘enter’ key. Press the enter key. C0100 (copies line 100 after line 130) 000110 000120 A0130 C=3.00 (Copies line 100 3 times before line 130) 000110 000120 B0130 ©0100 (copies line 100 after line 120, 140, 160 and 180) 900110 AR120 000130 ARLAO 000150 ARI6O 000170 A00180 (stops the copy function because of no *,” and ‘R’) (cc) copy a Block of Lines 4. Examples: On the first line you want to copy, type ‘CC followed by an optional equal sign and the number of times you want the block of Hines copied, Tf you omit the equal sign or the number, Condor copies the block only once. Type ‘CC’ and a space on the beginning and ending line of a block of lines to be copied. To insert the block of line AFTER a record, type ‘A’ followed by ~ an optional comma and ‘R’. The ‘R’ retains the ‘CC’ commands jn case you want to copy the block more than once. If you omit the comma and ‘R’, Condor will discontinue copying the lines as soon as you hit the ‘enter’ key. To insert the block of line BEFORE a record, type ‘B’ followed by an optional comma and ‘R’. The ‘R” retains the ‘CC’ commands in case you want to copy the block more than once. {f you omit the comma and ‘R’, Condor will discontinue copying the lines as soon a you hit the “enter" key. Press the enter key. CC=2.0 (copies lines 100-130 2 times after line 140) 000110 000120 C130 A00140 CC100 (copies lines 100-130 before line 150) 000110 000120 C130 000140 B00150 CC100 (copies line 100 and 110 before lines 130, 150 and 170) CC 110 000120 BR130 000140 BR130 000160 BOOL70 (stops the copy function because of no ‘,” and “R’) (M) Movin 1 1g a Single Line (On the line you wish to move, type an ‘M’ followed by an optional equal sign, and the number of times you want the line copied, If ‘the equal sign or number is omitted, the line will only be copied once. To insert the line AFTER a record, type “A’ on the line of that record. To insert the line BEFORE a record, type °B’ on the line of that * record. Examples: (MM) L OR 3. Examples: Press the enter Key. M=200 (moves 2 copies of line 100 after line 130) 000110 000120 A0130 M0100 (moves line 100 before line 130) 000110 000120 B0130 Moving a Block of Lines On the first line you want to move, type "MM" followed by the optional equal sign and the number of times you want the block of lines copied, and a space. Enter ‘MM’ on the last line to be moved. If you omit the equal sign or number, Condor copies the block only once. ‘Type ‘MM’ and a space on the beginning and ending line of a biock of lines to be moved. To insert the block of lines AFTER a record, type ‘A’ on the line of that record. To insert the block of lines BEFORE a record, type ‘A’ on the line of that record. Press the enter key. MM_100 (moves lines 100 thru 120 after line 130) 000110 ‘MM 120 A0130 PF1 - Same as ‘D MAP” PF2 - Same as ‘D RDR’ PF3 - Same as ‘D LST” PF4 - Same as ‘D PUN’ PFS - Same as ‘D XEQ* PF6 - Samé as “‘D ALL" - Cancel c F - Fetch (displays-view) R - Release to print At ‘Enter Command Below’ line DMAP DMAP JOB - DIN,CeA D,FTCA DIN,FIC DLST,FTC will give you a display of everything running on the mainframe. Use PF? to page down and PF to page up. will give you a display of user initiated jobs that are currently running. will display all the jobs in class ‘A’ that are in the input queue. will display the jobs beginning with the string ‘FTCA’ or any string (up to 8 characters) that you enter will display the jobs in the input queue that begin with the stting ‘FTC or any string (up to 8 characters) entered. will display the jobs in the output queue that start with the string ‘FTC’ or any string (up to 8 characters). 10 Operation Code Delete B Copy Rename Operand Data - the available libraries are listed on the right-hand side of the screen. = todelete a member in a library = to browse a member in a library. Changes can be made to a program here but they cannot be saved in the program. + toedit a member in a library. Changes made here can be saved in the program. + tocopy amember from a library to a new member. = displays the attributes of a member (these attributes can be changed). - toxename a member in a library + todisplay a member(s) in a library = Usually the name of the library member is keyed here. The examples of variations of the operands are shown below. ‘Examples of operation/operands: Operation D D D D na D Lae NHL Copy Rename Operand FD(string {use up to $ characters}) . PD(string {use up to 8 characters) ) ” MD(string {use up to 8 characters}) ve ‘SD(string {use up to 8 characters}) seae QD, (user) (library), (member) wanes fromlib,oldmember,newmember oldname,newname ‘* Inthe operand, the global character % can be used anywhere in the string. “Ep - - PD - “MD see SD eee OD gives the full directory of members in a CAMLIB gives a partial directory of members ina CAMLIB gives alist of members in a CAMLIB gives a list of members in a CAMLIB in the order they were saved to disk. this the queue directory command. It displays edit queue usage for only your current session or for selected user, n libraries and members. TO ALLOCATE A PDS TO A LIBRARY Any partitioned data set (PDS) may be allocated to an available library. ‘The available libraries for this function are libraries DOO1 through D060. On the main Condor menu, at the prompt ‘Enter Transaction Code’, key ALLOC. This will bring you to the screen used to allocate a PDS. DSNAME - __ key the name of the PDS that you are trying to allocate. FILED - key the library where you want the PDS, (1D001-D060) Leave VOLUME and BLKSIZE blank. ‘This allocate function is in effect until the operators take the CONDOR system down. At this point, the PDS is no longer allocated to a library. You can de-allocate a PDS by doing the following: On the main Condor menu, at the prompt ‘Enter Transaction Code’, key VARY DXXX,OFFLINE (with DXXX = library number). 2

You might also like