Help on Rexx skeleton



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Help on Rexx skeleton

Postby chinkump » Thu Apr 24, 2014 10:44 pm

Hi Experts,

I have a report skell of LRECL=80 and using the same I am generating a report of LRECL=255.
Problem that I am facing is that I am not able to accomodate all the headers and its corresponding value in single line.As a result of which 1 single record in the report gets generated in two line.Although the report is of LRECL=255 data gets splitted into 2 lines. Please let me know how can I get both header and the content in single line.Below is the code that I am using.

)TB 2 14 23 34 64 94 106 116 151 163 174 209 218 227
!DDDDDD NAME!SSSSSS!SUB-SSSSSS!PPPPPP PROCESS!RRRRRRRR PROCESS!CCCCCC KEY!LINK
!RRRRRRR NAME!TYPE!SSSSSSS-ID!QQQQQQQ-ID!TTTTTTTTTT!INV!LNS
)DOT INVTMP
!&DLLLLL!&SSSSSSS!&SSCCCCC!&PPPPPP!&RRRRRR!&CKEY!&LINK!&RECCCCCC!&TYPE!&SXXXXX
!&QUE!&TFFFFF!&INVVVV!&LNS
)ENDDOT

1> Wanted to know if we can use any continuation mark in above skel after !LNK in )TB section and !&XXXXX in )DOT section .
2> What is the maximum length of the skeletons in Rexx.

Any alternative pointers which will help in resolving the issue are welcome(Dont want to use short symbolic names and want header as it is)

Thanks,
Chinkump
chinkump
 
Posts: 26
Joined: Fri Jan 20, 2012 10:48 pm
Has thanked: 3 times
Been thanked: 0 time

Re: Help on Rexx skeleton

Postby Pedro » Fri Apr 25, 2014 12:23 am

Chapter 10 of the ISPF Dialog Developer's Guide and Reference describes the use of the continuation character.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: Help on Rexx skeleton

Postby chinkump » Fri Apr 25, 2014 12:58 am

Thanks Pedro for your quick response. I went through the Chapter 10 ISPF Dialog Developer's Guide and Reference but was not able to find the continuation character.Can you please help.

Thanks,
Chinkump
chinkump
 
Posts: 26
Joined: Fri Jan 20, 2012 10:48 pm
Has thanked: 3 times
Been thanked: 0 time

Re: Help on Rexx skeleton

Postby Pedro » Fri Apr 25, 2014 5:12 am

I went through the Chapter 10 ISPF Dialog Developer's Guide and Reference...

It is on the first page of Chapter 10. At least, it is on the first page of the SC34-4821-09 version of the manual. See http://www-03.ibm.com/systems/z/os/zos/library/bkserv/r13pdf/#ISP You should be able to get the PDF file and then search for 'continuation'.

FYI. The default continuation is a question mark, but you really need to read that section because it might not be as simple as adding a question mark at the end of your text.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: Help on Rexx skeleton

Postby chinkump » Sat Apr 26, 2014 2:41 pm

Hi Pedro,

Thanx for the manual.Putting question mark at the end is not also resolving the issue.
Actually my ISPF table contains a 15 columns and the skel that I am using is of LRECL 80.So I cannot accommodate all the column variables in the skel in a single line.The report generated will be on the output file of LRECL 255. So the report is also getting splited into 2 lines and and it creates a problem.
*****************************************************************************************************************
<-----------------------------------------------80------------------------------------------------------------->
)DOT TABNAME
&FNAME &FNAME1 &FNAME2 &FNAME3 &FNAME4 &FNAME5 &FNAME6 &FNAME7 &FNAME8
&FNAME9 &LNAME10 &FNAME11 &LNAME12 &FNAME13 &FNAME14 &FNAME15
)ENDDOT

I tried putting question mark after FNAME8 but still it didnt work. Please let me know any available solution.

Thanks,
Chinkump
chinkump
 
Posts: 26
Joined: Fri Jan 20, 2012 10:48 pm
Has thanked: 3 times
Been thanked: 0 time

Re: Help on Rexx skeleton

Postby Pedro » Mon Apr 28, 2014 10:25 pm

I asked you to do some reading from chapter 10 of the manual. I agree that is is not clearly stated, so I have pasted the information:
A question mark in the last input column of a data record indicates record continuation.

And in section 10.2:
For fixed-length records, the last eight character positions are considered to be a sequence number. The character preceding the last eight characters is considered to be the last input column.

So, for an LRECL=80, put a question mark in column 72. It worked for me.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post