Copy & Paste problem IN REXX PANEL

Ask/Clarify the questions on TSO, CLIST & REXX

Moderators: Veera, Moderator Group

Post Reply
banupriyab
Member
Posts: 16
Joined: Fri Apr 17, 2009 5:10 pm

Copy & Paste problem IN REXX PANEL

Post by banupriyab » Thu Nov 07, 2013 4:20 pm

[code]
Hi,

I am trying to Copy & paste values from first line to secondline in my REXX panel. When I do so, the copied data shifts by three bytes because of values "+ %" before input variable "Z" in the panel body.
Please let me how to avoid shifting.

REXX PANEL CODE:
/* Attributes: */
% TYPE(INPUT) INTENS(HIGH) COLOR(white) caps(on) PAD('_')
+ TYPE(TEXT) INTENS(LOW) SKIP(OFF)
$ TYPE(TEXT) INTENS(HIGH) SKIP(OFF) COLOR (green)

/*Panel Body: */
$ COL1 COL2 SEARCH KEY
$ 1.%z + %z + %z
$ 2.%z + %z + %z
$ 3.%z + %z + %z

Copy and paste of first line to second line gives below result.
(Note: Shifting of value ABC in COL2 by 3 spaces(replaced here with . for show purpose))
COL1 COL2 SEARCH KEY
1. XYZ_______ ABC_____ ________
2. XYZ_______ ...ABC_____ ________
3. __________ ________ ________
[/code]

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Thu Nov 07, 2013 5:29 pm

First - I would not change the default attr characters but add my own. It will only confuse people who come along later to maintain what you have written.

Second - how do you cut and paste? One field at a time or multiple fields?
Regards
Nic

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others