Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to resolve BLDL error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
akila_504

New User


Joined: 27 Jan 2006
Posts: 3

PostPosted: Tue Aug 19, 2008 1:58 pm    Post subject: How to resolve BLDL error
Reply with quote

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
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8620
Location: Back in jolly old England

PostPosted: Tue Aug 19, 2008 2:39 pm    Post subject:
Reply with quote

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
View user's profile Send private message
akila_504

New User


Joined: 27 Jan 2006
Posts: 3

PostPosted: Tue Aug 19, 2008 4:03 pm    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8620
Location: Back in jolly old England

PostPosted: Tue Aug 19, 2008 4:13 pm    Post subject:
Reply with quote

Click HERE to see a previous topic
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2088
Location: Silicon Valley

PostPosted: Tue Aug 19, 2008 9:32 pm    Post subject: Reply to: How to resolve BLDL error
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us