Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 8593
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: 8593
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: 2033
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 Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts DB2 SQL Error: SQLCODE=-440, SQLSTATE... kishpra DB2 1 Sat Feb 18, 2017 2:31 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us