SEU Master Info

Embed Size (px)

Citation preview

  • 8/3/2019 SEU Master Info

    1/10

    SEU Info

    Sequence number

    The Sequence number prompt displays the sequence number of the

    record and is used for entering line commands. You can use user

    defined line commands or system defined line commands. To use a

    line command, type the command over the digits that make up thesequence number. If the sequence number area does not contain a

    sequence number, type the command starting in the first position ofthe sequence number area followed by a blank.

    Choose from the following:

    A=After

    Type A in the Sequence number prompt to move or copy records

    after this record.

    An=After with repeat n timesType An in the Sequence number prompt to move or copy recordsafter this record and repeat these records n times.

    B=BeforeType B in the Sequence number prompt to move or copy records

    before this record.

    Bn=Before with repeat n times

    Type Bn in the Sequence number prompt to move or copy recordsbefore this record and repeat these records n times.

    C=Copy a lineCopy this line to a specified target.

    Cn=Copy n lines

    Copy this line plus the next n-1 lines to the specified target.

    CC=Block Copy

    Copy all lines between the boundaries formed by the two CC

    commands.

    CR=Copy records and retain command

    Copy this record to the specified targets and keep this commandon the display.

    CRn=Copy n records and retain command Copy n records to the

    specified targets and keep this command onthe display.

    CCR=Copy block records and retain commandCopy the block of records defined by a pair of CCR commands to

    the specified targets and keep this command on the display.

  • 8/3/2019 SEU Master Info

    2/10

    COLS=Column

    Type COLS to make a free-form format line appear just before the

    line the command was entered on.

    D=Delete a line

    Type D to delete this line.

    Dn=Delete n lines

    Type Dn to delete this line and the next n-1 lines.

    DD=Block Delete

    Delete all lines between the two DD boundaries.

    F=Display format line

    Type F to display a format line.

    Fxx=Display the xx format line

    Type Fxx to display the xx format line.

    F?=Show the Select Format display

    Type F? to show the Select Format display. From this display

    choose the format to use.

    I=Insert a line

    Type I to insert a blank line after this record.

    In=Insert n linesType In to insert n blank lines after this record.

    IF=Insert line and display format

    Type IF to insert a blank line and display the current formatbefore this new line.

    IFn=Insert n lines and display formatType IFn to insert n blank lines and display the current format

    before the first new line.

    IFxx=Insert a blank line and display xx format

    Type IFxx to insert a line and display the xx format before thisnew line.

    IFxxn=Insert n blank lines and display xx format

    Type IFxxn to insert n lines and display the xx format beforethese new lines.

    IF?=Show the Select Format displayType IF? to show the Select Format display and insert a line

    with a format selected from that display before this new line.

  • 8/3/2019 SEU Master Info

    3/10

    IF?n=Show the Select Format display and insert lines

    Type IF?n to show the Select Format display and insert n lines

    with a format selected from that display before this new line.

    IP=Insert line and prompt

    Type IP to insert a blank line and display the line in a prompt.

    The format of the previous record determines the type of promptto display.

    IPxx=Insert line with an xx prompt

    Type IPxx to insert a line and display the line in the xx

    prompt, where xx is the name associated with an IBM-supplied oruser-defined prompt.

    IP?=Show Select Prompt Display.

    Type IP? to show the Select Prompt Display. An insert line willbe shown in the prompt selected from this display.

    IS=Insert skeleton line

    Type IS to insert a line and initialize it to the data saved as

    the skeleton line.

    ISn=Insert n skeleton lines

    Type ISn to insert n lines and initialize them to the data savedas the skeleton lines.

    L=Shift data 1 char left

    Type L to shift data in this record one character position tothe left. If there is any data in the first column, the record

    will only shift up to the start of the data.

    Ln=Shift data n chars left

    Type Ln to shift data in this record n character positions tothe left. If there is any data in the first n columns, the

    record will only shift up to the start of the data.

    LL=Shift block 1 char to the left

    Shift the data that is defined by the boundary between and

    including the two LL line commands one character position to theleft. If there is any data in the first column, the record willonly shift up to the start of the data.

    LLn=Shift block n chars to the leftShift the data that is defined by the boundary between and

    including the LLn and LL line commands n character positions to

    the left. If there is any data in the first n columns, therecord will only shift up to the start of the data.

  • 8/3/2019 SEU Master Info

    4/10

    LP=Line Print a line

    Print this line.

    LPn=Line Print n linesPrint this line plus the next n-1 lines.

    LLP=Block Line Print

    Print all lines between the boundaries formed by the two LLPcommands.

    LT=Shift data 1 char left with truncate

    Type LT to shift data in this record one character position to

    the left. Any data that appeared in the first column will beremoved.

    LTn=Shift data n chars left with truncate

    Type LTn to shift data in this record n character positions to

    the left. Any data that appeared in the first column throughthe nth column will be removed.

    LLT=Shift block left with truncate

    Shift the data that is defined by the boundary between andincluding the two LLT line commands one position to the left.

    Any data that appeared in the first column will be removed.

    LLTn=Shift block n chars left with truncate

    Shift the data that is defined by the boundary between andincluding the LLTn and LLT line commands n positions to the

    left. Any data that appeared in the first column through thenth column will be removed.

    M=Move a line

    Type M to move a line to a specified target.

    Mn=Move n lines

    Type Mn to move this line and the following n-1 lines to a

    specified target.

    MM=Block Move

    Move all records between and including the boundaries defined bythe MM line commands to a specified target.

    O=Overlay

    Type O to overlay this line with the first line defined by themove, copy, or copy repeated line command.

    On=Overlay n linesType On to overlay this line and the following n-1 lines with

    the first n lines defined by the move, copy, or copy repeated

  • 8/3/2019 SEU Master Info

    5/10

    line command.

    OO=Block overlay

    Overlay all the records between and including the boundariesdefined by two OO line commands with the lines defined by the

    move, copy, or copy repeated line command.

    P=Display promptType P to display this line in a prompt.

    Pxx=Display xx prompt

    Type Pxx to display this line in the xx prompt, where xx is the

    name associated with an IBM-supplied or user-defined prompt.

    P?=Show the Select Prompt display

    Type P? to show the Select Prompt display and look at the line

    in the prompt chosen from this display.

    R=Shift data 1 char rightType R to shift the data in this record one character positionto the right. If there is any data in the last column, the

    record will only shift up to the end of the data.

    Rn=Shift data n chars right

    Type Rn to shift the data in this record n character positions

    to the right. If there is any data in the last n columns, therecord will only shift up to the end of the data.

    RR=Block shift 1 char to the right

    Shift the data that is defined by the boundary between andincluding the two RR line commands one character position to the

    right. If there is any data in the last column, the record willonly shift up to the end of the data.

    RRn=Block shift n chars to the rightShift the data that is defined by the boundary between and

    including the RRn and RR line commands n character positions to

    the right. If there is any data in the last n columns, therecord will only shift up to the end of the data.

    RRT=Shift block right with truncateShift the data that is defined by the boundary between andincluding the two RRT line commands one position to the right.

    Any data that appeared in the last column will be removed.

    RRTn=Shift block n chars right with truncate

    Shift the data that is defined by the boundary between and

    including the RRTn and RRT line commands n positions to theright. Any data that appeared in the last column through the

    nth column will be removed.

  • 8/3/2019 SEU Master Info

    6/10

    RT=Shift data 1 char right with truncate

    Type RT to shift the data in this record one character position

    to the right. Any data in the last column will be removed.

    RTn=Shift data n chars right with truncate

    Type RTn to shift the data in this record n character positions

    to the right. Any data in the last column through the nthcolumn will be removed.

    RP=Repeat line

    Type RP to repeat this line once before the following line.

    RPn=Repeat line n times

    Type RPn to repeat this line n times before the following line.

    RPP=Block repeatRepeat all lines defined by the boundary between the two RPP

    line commands.

    RPPn=Block repeat n times

    Repeat all lines defined by the boundary between the two RPP

    line commands n times.

    S=Skeleton line

    Type S to define this data line as the skeleton line.

    SF=Show first recordType SF to show the first record of the exclude group.

    SFn=Show first n records

    Type SFn to show the first n records of the exclude group.

    SL=Show last record

    Type SL to show the last record of the exclude group.

    SLn=Show last n records

    Type SLn to show the last n records of the exclude group.

    TABS=Display tabs record

    Type TABS to set and show the tabs for the display. Before youcan use the tabs you set, you must specify Y (Yes) for the Tabson prompt on the Change Session Defaults display.

    W=Display member from column 1Type W to display the member beginning in column 1.

    Wn=Display member from column nType Wn to display the member beginning in column n.

  • 8/3/2019 SEU Master Info

    7/10

    X=Exclude a line

    Type an X next to the record to exclude it from the display.

    Xn=Exclude n linesType Xn to exclude this record and the next n-1 records.

    XX=Block Exclude

    Exclude all lines between the boundaries formed by the two XXline commands.

    + (plus sign)=Roll member forward 1 line

    Type + to roll the member forward one line.

    +n=Roll member forward n lines

    Type +n to roll the member forward n lines.

    - (minus sign)=Roll member backward 1 line.Type - to roll the member backward one line.

    -n=Roll member backward n linesType -n to roll the member backward n lines.

    n=Absolute PositioningType a sequence number to position the line identified by that

    value as the first record on the display.

    You can specify an entire sequence number, or a value in the

    form n, .n, or n.n, optionally followed by a blank. Forexample, if line 1001.00 is shown at the top of the Edit

    display, and you want to move to line 2001.00, you can do anyone of the following:

    o Specify the sequence number 2001.00 by changing the first 1

    in 1001.00 to a 2:

  • 8/3/2019 SEU Master Info

    8/10

    SEU - Select Prompt

    Type choice, press Enter.

    Prompt type . . . . . . . . . . . . Values listed below

    ILE RPG/400: H,F,FX,I,IX,J (I cont),JX,D,DX,C,CF,CX,OD,P (O cont),PR

    PX,* (Comment),**ILE COBOL/400: CB,C*

    REFORMAT/SORT: RH,RR,RF,RCDDS: LF (Logical file),PF (Physical file),

    BC (Interactive Communications Feature file),

    DP (Display and Printer file),A* (Comment)

    MNU: MS,MH,MD,MC (MD cont),CC (Comment)

    FORTRAN: FT, F*

    Other: NC (No syntax checking),** (Free format)

    User Defined Line Commands - Help

    In addition to the regular SEU line commands, you can key in any

    line command on the Sequence Number field which is not defined asan SEU line command. When SEU encounters this type of line

    command, it will attempt to call a user exit program to process

    it. SEU uses the information provided by the user in the ChangeSession Defaults panel to try to resolve this line command to the

    corresponding exit program.

    Summary of Line CommandsThe following table lists the line commands for SEU. All line commands are valid

    for full edit and split edit sessions. This table indicates the line commands that arevalid for browse sessions.

    Command, Browse, Display Line Commands

    Absolute Positioning Y n .n n.nAfter, Before N A A n B Bn

    Columns Y COLS

    Copy Y/N1 C Cn CCCopy Repeat Y/N1 CR CR n CCR

    Delete Y/N2 D Dn DD

    Exclude Y X X n XXFormat Y F F? F xxInsert N I I n

    Insert-with-Format N IF IF n IF? IF? n IF xx IF xxn

    Insert-with-Prompt N IP IP? IP xxLine Print Y LP LP n LLP

    Move N M Mn MM

    Overlay N O O n OOPrompt N P P? P xx

    Relative Positioning Y + + n n

  • 8/3/2019 SEU Master Info

    9/10

    Repeat N RP RP n RPP RPP n

    Shift Left N L L n LL LL n

    Shift Right N R R n RR RR n

    Shift-Left-with-Truncate

    N LT LTnLLT LLT n

    Shift-Right-with-

    TruncateN RTRTnRRT RRT n

    Show Y SF SF n SL SL nSkeleton N S IS IS n

    Tabs N TABS

    Window Y W WnNotes:

    1 Valid only in split edit/browse sessions with a target command in the edit session.

    2 Valid only on special records (for example, format lines).

  • 8/3/2019 SEU Master Info

    10/10

    Debug batch job

    Specific steps have to be followed in sequence in order to use the

    Source Debug facilities to debug a batch job:1.Submit job to run in batch with HOLD(*YES).

    2.Use WRKSBMJOB to obtain information about the job you want to debug, that is:

    ? Job Id

    ? User Name? Job Number

    3.Enter the command STRSRVJOB for the Job above using the information that you retrieved viaWRKSBMJOB.

    4.Enter the STRDBG command for the program that the batch job is running.

    The source view of the program is displayed.5.Press F21 to obtain a command line.

    6.Enter WRKSBMJOB from the command line to release the batch job - a

    System Message will appear allowing you to press F10 to enter Debug commands or Enter to run the

    program.7.Press F10 - a Command Entry screen will appear.

    8.Use DSPMODSRC from the Command Entry display and set breakpoints where desired.9.Exit DSPMODSRC (F3).10.Exit the Command Entry screen (F12) - the System Message from Step 6).will appear again.

    11.Press enter to run the program.

    12.Program will now halt at breakpoint.13.Debug program as normal.

    14.When the program/Job has completed execution, close out the process with ENDDBG and

    ENDSRVJOB.