How to add data in last postion in sequtial dataset thru rex



IBM's Command List programming language & Restructured Extended Executor

How to add data in last postion in sequtial dataset thru rex

Postby arya_starc » Mon Oct 29, 2018 7:10 pm

Hi
I am writing a sequential dataset thru rexx, but I need to add data in last position of that sequential dataset for each line.
Is there any method thru which I can give the exactly number of spaces( thru numeric value).
For eg:

000001HELLO<----------SPACES----------->TAGGING
000002HEYYY<----------SPACES----------->TAGGING
 


thanks in advance.
arya_starc
 
Posts: 136
Joined: Mon Sep 21, 2015 1:39 pm
Has thanked: 5 times
Been thanked: 0 time

Re: How to add data in last postion in sequtial dataset thru

Postby prino » Tue Oct 30, 2018 12:08 am

RTFM, there are at least four ways of doing this in REXX.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 29 times

Re: How to add data in last postion in sequtial dataset thru

Postby enrico-sorichetti » Tue Oct 30, 2018 12:11 am

topic locked...
asked the same question somewhere else
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post