View previous topic :: View next topic
|
Author |
Message |
akila_504
New User
Joined: 27 Jan 2006 Posts: 3
|
|
|
|
Hi,
I have one dataset which contains some members in it. When i tried to retrieve the spool details using rexx I have given this dataset. As soon as I have executed this the dataset is unable to open. It is giving the error as BLDL error. I want the retrieve the dataset in that member. The rexx code which i have executed is :
Code: |
ARG JOBNAME JOBID
"ALLOC F(ISFIN) TRACKS SPACE(1) NEW REU" /* USED BY SDSF */
"ALLOC F(ISFOUT) NEW DELETE REU " , /* USED BY SDSF */
"TRACKS SPACE(100,100) LRECL(133) RECFM(F,B,A) DSORG(PS)"
"ALLOC F(TEMPPRT) DA('U153134.TEMP') SHR"
QUEUE "SET CONFIRM OFF"
QUEUE "OWNER *"
QUEUE "PREFIX *"
QUEUE "ST"
QUEUE "SELECT "JOBNAME JOBID
QUEUE "AFD REFRESH"
QUEUE "FIND "JOBNAME
QUEUE "++?"
QUEUE "FIND JESYSMSG"
QUEUE "++S"
QUEUE "PRINT FILE TEMPPRT"
QUEUE "PRINT"
QUEUE "PRINT CLOSE"
QUEUE "END"
QUEUE " "
"EXECIO" QUEUED()" DISKW ISFIN (FINIS" /* INPUT TO SDSF BATCH */
"ISPEXEC SELECT PGM(ISFAFD) PARM('++25,80')"/* INVOKE SDSF */
"FREE F(ISFIN,ISFOUT,TEMPPRT)"
"ISPEXEC EDIT DATASET('U153134.TEMP') MACRO(MCTIME)"
EXIT
|
In the above code, I have allocated my dataset to TEMPPRT DDname. Please help me how can I get my PDS back. I am unable to open,view,browse,edit the dataset. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What is the current status of the PDS when you do I under 3.4 ?
What are the RECFM & LRECL attributes, and what should they be ?
Have you searched the forum for this problem, because it has been discussed many times before. |
|
Back to top |
|
|
akila_504
New User
Joined: 27 Jan 2006 Posts: 3
|
|
|
|
expat wrote: |
What is the current status of the PDS when you do I under 3.4 ?
What are the RECFM & LRECL attributes, and what should they be ?
Have you searched the forum for this problem, because it has been discussed many times before. |
Hi when i open it .. it says no members in dataset. The RECFM and LRECL are having valid ones as they should be. But unable to open it.
I serached in the forum but unable to get the info. Can you guide me.
Thanks in advance.
Regards,
Harish. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
SDFS wants to create a sequential dataset
The problem is that you have (had) a PDS, but did not use a member name. That is:
Code: |
"ALLOC F(TEMPPRT) DA('U153134.TEMP') SHR"
"ISPEXEC EDIT DATASET('U153134.TEMP') MACRO(MCTIME)" |
should include a member name.
Like:
Code: |
"ALLOC F(TEMPPRT) DA('U153134.TEMP(job1234)') SHR"
"ISPEXEC EDIT DATASET('U153134.TEMP(job1234)') MACRO(MCTIME)" |
|
|
Back to top |
|
|
|