EXECIO abend code 213, reason code 00000048.



IBM's Command List programming language & Restructured Extended Executor

EXECIO abend code 213, reason code 00000048.

Postby pratiksha88 » Fri Dec 12, 2014 2:19 pm

I am executing the REXXX to append the date to file names, when it ran for the first time , it executed fine. On the second and third run it failed with below error and it worked fine on 4th run. The rex was not modified thruout all the 4 runs.

REXX :
 /* REXX */                                                             
                                                                         
 /* POPULATE FTP SERVER USERID AND PASSWORD  */                         
                                                                         
 ext_ftp.1 = "pwdsn=" || '"' || "XXXXXXXXXXXXXXXXXXXXXXXXX" || '"'     
 ext_ftp.2 = "user=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"                                           
 ext_ftp.3 = "host=XXXXXXXXXXXXXXXXXXXXXXXXXXX"                           
 ext_ftp.4 = ". $script_dir/sftp_connect.sh << EOB"                     
 ext_ftp.5 = "lzopts mode=binary"                                       
                                                                         
 /* POPULATE DATE                            */                         
                                                                         
 X=DATE(S)                                                               
 INP1=BPR.RNAD16.RNAAUNZ.ZIP                                             
 OUT1="rnabu"                                                           
                                                                         
 ext_ftp.6 = "cd /applsend/rnabu/outbox"                                 
 ext_ftp.7 = "put " || "//" || inp1 || "  " || out1 || X || ".zip"       
 ext_ftp.8 = "EOB"                                                       
 ext_ftp.0 = 8                                                           
                                                                         
 /* BUILD THE CONTROL CARD DATASET NAME      */                         
                                                                         
 NORMAL_CARD = 'NDVR.PROD.PRD.CTL(RNASFTP1)'                             
                                                                         
 ADDRESS "TSO"                                                           
 "ALLOC FI(OUTFILE1) DA ('"normal_card"') SHR REU"                       
 "EXECIO * DISKW OUTFILE1 (STEM ext_ftp. FINIS"                         
 "FREE FI (OUTFILE1)"     


======================================================                                               
ERROR :


READY                                                                     
 EX 'NDVR.PROD.PRD.CTL(RNAFTP02)'                                         
IRX0250E System abend code 213, reason code 00000048.                     
IRX0255E Abend in host command EXECIO or address environment routine TSO. 
IRX0670E EXECIO error while trying to GET or PUT a record.                 
READY                                                                     
END



Please help me find the reason behind this behaviour.

coded
pratiksha88
 
Posts: 5
Joined: Wed Sep 24, 2014 6:06 pm
Has thanked: 0 time
Been thanked: 0 time

Re: EXECIO abend code 213, reason code 00000048.

Postby prino » Fri Dec 12, 2014 3:26 pm

Add

trace ?r

as the second line of your code and show the trace!
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 29 times

Re: EXECIO abend code 213, reason code 00000048.

Postby NicC » Fri Dec 12, 2014 6:34 pm

How do you know if your ALLOC worked ok?
What did you glean from the messages and codes manual for a S213-48?

And please use the code tags when posting code - like Prino did.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: EXECIO abend code 213, reason code 00000048.

Postby vern » Fri Dec 12, 2014 7:00 pm

A 213-48 is
48 OPEN detected a bad return from the extended cache attribute facility.

No I've no idea what that means
vern
 
Posts: 14
Joined: Fri Oct 24, 2014 12:40 pm
Has thanked: 0 time
Been thanked: 0 time

Re: EXECIO abend code 213, reason code 00000048.

Postby steve-myers » Fri Dec 12, 2014 8:08 pm

Like Vern, I too, looked up the S213-48. I, too, have no idea what it means.

Is NDVR.PROD.PRD.CTL a PDS? What are its DCB attributes?
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: EXECIO abend code 213, reason code 00000048.

Postby pratiksha88 » Fri Dec 12, 2014 9:40 pm

NDVR.PROD.PRD.CTL is a library and RNAFTP02 is control card that contains REXX menntioned in first post.
pratiksha88
 
Posts: 5
Joined: Wed Sep 24, 2014 6:06 pm
Has thanked: 0 time
Been thanked: 0 time

Re: EXECIO abend code 213, reason code 00000048.

Postby steve-myers » Fri Dec 12, 2014 9:46 pm

You were asked 2 questions. What is the answer to both questions?
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: EXECIO abend code 213, reason code 00000048.

Postby Pedro » Tue Dec 16, 2014 2:50 am

NDVR.PROD.PRD.CTL

Something to do with 'production'... perhaps a somewhat important data set... it might be performance sensitive. Perhaps it -is- being cached. Check your COFVLFxx definitions in SYS1.PARMLIB. I do not have experience in this area, but there might be a trick to actually update such a data set.
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: EXECIO abend code 213, reason code 00000048.

Postby pratiksha88 » Tue Dec 16, 2014 12:24 pm

Hi Steve ,

Sorry for delayed response.

NDVR.PROD.PRD.CTL is a PDS and the attributes are :

Management class . . : MCNOMIG
Storage class . . . : SCAVPLIB
Volume serial . . . : AVPC16
Device type . . . . : 3390
Data class . . . . . : **None**
Organization . . . : PO
Record format . . . : FB
Record length . . . : 80
Block size . . . . : 3120
1st extent cylinders: 300
Secondary cylinders : 30
Data set name type : PDS
pratiksha88
 
Posts: 5
Joined: Wed Sep 24, 2014 6:06 pm
Has thanked: 0 time
Been thanked: 0 time

Re: EXECIO abend code 213, reason code 00000048.

Postby pratiksha88 » Tue Dec 16, 2014 12:28 pm

Hi Prino,

I can not add TRACE as the files are in production. When i run the same in test environment it is running fine. Even in production it works fine at times and it fails some times.
pratiksha88
 
Posts: 5
Joined: Wed Sep 24, 2014 6:06 pm
Has thanked: 0 time
Been thanked: 0 time

Next

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post