| IBM MAINFRAME HELP & SUPPORT FORUMS Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
akila_504
Joined: 27 Jan 2006
Posts: 3
|
| Posted: Tue Aug 19, 2008 1:58 pm Post subject: How to resolve BLDL error |
|
|
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
Joined: 14 Mar 2007
Posts: 3544
Location: Brussels once more ...
|
| Posted: Tue Aug 19, 2008 2:39 pm Post subject: |
|
|
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
Joined: 27 Jan 2006
Posts: 3
|
| Posted: Tue Aug 19, 2008 4:03 pm Post subject: |
|
|
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
Joined: 14 Mar 2007
Posts: 3544
Location: Brussels once more ...
|
| Posted: Tue Aug 19, 2008 4:13 pm Post subject: |
|
|
| Click HERE to see a previous topic |
|
| Back to top |
|
Pedro
Joined: 01 Sep 2006
Posts: 536
Location: work
|
| Posted: Tue Aug 19, 2008 9:32 pm Post subject: Reply to: How to resolve BLDL error |
|
|
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 |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|