NEED REXX CODE



IBM's Command List programming language & Restructured Extended Executor

NEED REXX CODE

Postby krishna1990 » Fri Oct 19, 2012 12:23 pm

Hi,
I have tried working on rexx code to view the dataset. can u help me to view the dataset using layout :?
krishna1990
 
Posts: 3
Joined: Tue Oct 16, 2012 2:39 pm
Has thanked: 0 time
Been thanked: 0 time

Re: NEED REXX CODE

Postby NicC » Fri Oct 19, 2012 1:28 pm

What do you mean by 'using layout'?
Show us what you have tried. Are you using ISPEXEC calls? If not, why not? Use the MODEL ISPF command to get ISPF dialogue stuff into your Rexx programs.
I assume that you are using the manuals? Rexx Language Reference for Rexx and ISPF Dialogue Services manual.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: NEED REXX CODE

Postby enrico-sorichetti » Fri Oct 19, 2012 1:38 pm

the first step to get good answers is to post good questions!

OK for the language barrier, but You are expecting too much.

reread Your post and sincerely tell us if it is something that we can work on.

anyhow...
rexx does not have layouts.
everything is a STRING of CHARACTERS
it' s up to the coder(You) to use SUBSTR, PARSE, ... to separate the <record> into the single filelds
and to convert them to the proper DISPLAY EDITED format
and that must be done by IMPERATIVE clauses not DESCRIPTIVE one

the general layout concept ( DESCRIPTIVE ) applies to fileaid and filemanager
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: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: NEED REXX CODE

Postby NicC » Fri Oct 19, 2012 10:41 pm

If you really mean a layout as in: I want this bit of data displayed up there and that bit down there, nother bit in the middle of the screen etc then you could do it with Rexx alone but it would take an awful lot of code compared with just creating a panel to display the data. I did this once because our bill printing was outsourced so we had no means of displaying the bills in a presentable form. Quite a few lines of rexx (but not overly many) and a few panels and we could see a reasonable representation of the bills. Rexx manual and dialogue developers manual
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post