Rexx Program not running with ISPSTART



IBM's Command List programming language & Restructured Extended Executor

Re: Rexx Program not running with ISPSTART

Postby enrico-sorichetti » Mon Apr 21, 2014 10:26 pm

Pretty hard to believe ...

Using an empty ISPPROF has worked for me for at least 20 years

please post evidence that the error is due to it
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: 3003
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Rexx Program not running with ISPSTART

Postby Pedro » Tue Apr 22, 2014 1:45 am

Is it because of the temp file allocated to ISPPROF.

It is not enough to use a temp fie. The temp file has to have the right attributes. Here is what I use:
//ISPPROF  DD DSN=&&PROFILE,UNIT=SYSDA,DISP=(NEW,DELETE),       
//   SPACE=(3200,(30,30,1)),DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200)

The BLDL assembler macro is about finding the member in a PDS. If you do not include the number of directory blocks, the temp file will be a sequential data set and then you get message ISPT015.

You probably allocated it correctly after that in order to get the copy to work.
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: Rexx Program not running with ISPSTART

Postby jiteshyadav » Tue Apr 22, 2014 11:08 am

Pedro wrote:
Is it because of the temp file allocated to ISPPROF.

It is not enough to use a temp fie. The temp file has to have the right attributes. Here is what I use:
//ISPPROF  DD DSN=&&PROFILE,UNIT=SYSDA,DISP=(NEW,DELETE),       
//   SPACE=(3200,(30,30,1)),DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200)

The BLDL assembler macro is about finding the member in a PDS. If you do not include the number of directory blocks, the temp file will be a sequential data set and then you get message ISPT015.

You probably allocated it correctly after that in order to get the copy to work.

This works. Thanks Pedro for the info.
I wasn't allocating the temp file properly may be.
jiteshyadav
 
Posts: 22
Joined: Tue Apr 15, 2014 3:36 pm
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post