Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all 8500 articles
Browse latest View live

All Other Mainframe Topics :: RE: converting a mainframe file with ASA CC to word document

$
0
0
Author: steve-myers
Posted: Fri Apr 06, 2018 11:30 am (GMT 5.5)

I downloaded CBT "file" 314 for the TXT2RTF Rexx exec. This "file" also includes XMITXP.

I ran a data set that would not load into LibreOffice properly using my method through TXT2RTF, downloaded the generated RTF and loaded it into LibreOffice. It seems to be good.


JCL & VSAM :: Unavailable RECON datasets while executing IMS BACKUP

$
0
0
Author: abdulrafi
Subject: Unavailable RECON datasets while executing IMS BACKUP
Posted: Fri Apr 06, 2018 12:45 pm (GMT 5.5)

Hi,

I am trying to execute a jcl which takes the backup of IMSDB, but I am getting an error as mentioned below.

jcl:
Code:
//JS010    EXEC PGM=DFSRRC00,REGION=1024K,COND=(4,LT),           
//         PARM='ULU,DFSUDMP0'                                   
//STEPLIB  DD  DSN=IMSF2.RESLIB,DISP=SHR                         
//IMS      DD  DSN=IMSF2.DBDLIB,DISP=SHR                         
//IMSLOGR  DD  DUMMY                                             
//IEFRDER  DD  DSN=TPIP.T25.CNI.PIPDCN0.IMSLOG(+1),               
//             DISP=(NEW,CATLG,CATLG),                           
//             DCB=(RECFM=VB,LRECL=23468,BLKSIZE=23472,           
//             DSORG=PS),UNIT=SYSDA,SPACE=(TRK,(1267,591),RLSE)   
//SYSPRINT DD  SYSOUT=*                                           
//SYSUDUMP DD  SYSOUT=*                                           
//PIPDCN0  DD  DISP=SHR,DSN=T15.PPIP.CNI.PIPDCN0.PIPECONT         
//BKUPA    DD  UNIT=SYSDA,DISP=(,CATLG,DELETE),                   
//             DSN=TPIP.T25.CNI.PIPDCN0.PIPECONT.BKUPA(+1),       
//             VOL=(,RETAIN),LABEL=(1,SL),                       
//             DCB=(PISM.MODEL,RECFM=FB,LRECL=2041,BLKSIZE=32760),
//             SPACE=(CYL,(100,100),RLSE)                         
//BKUPB    DD  UNIT=SYSDA,DISP=(,CATLG,DELETE),                   
//             DSN=TPIP.T25.CNI.PIPDCN0.PIPECONT.BKUPB(+1),       
//             VOL=(,RETAIN),LABEL=(1,SL),                         
//             DCB=(PISM.MODEL,RECFM=FB,LRECL=2041,BLKSIZE=32760),
//             SPACE=(CYL,(100,100),RLSE)                         
//SYSIN    DD  DISP=SHR,DSN=TISM.T25.TBM.DBP.CNTL(PIPDCN0I)


Getting below error:
Code:
+DFS671I A04124TA.JS010. - FOR THIS EXECUTION, DBRC IS SET TO YES    STG1     
+DSP0245I  JOB TERMINATED DUE TO UNAVAILABLE RECON DATA SETS                   
+DFS0048I DBRC INITIALIZATION FAILED -  RC=16 STG1                             
IEA995I SYMPTOM DUMP OUTPUT  116                                               


I tried giving all the datasets necessary for IMSDB backup, but still am getting this error. Could you please help me if I have missed any dataset concatenation ?. [/code]
_________________
Thanks,
Abdul Rafi

JCL & VSAM :: RE: Unavailable RECON datasets while executing IMS BACKUP

$
0
0
Author: enrico-sorichetti
Subject: Reply to: Unavailable RECON datasets while executing IMS BACKUP
Posted: Fri Apr 06, 2018 1:01 pm (GMT 5.5)

what about reading Yourself the messages manuals to understand the meaning of ...

Quote:
+DSP0245I JOB TERMINATED DUE TO UNAVAILABLE RECON DATA SETS


and take the action suggested threre ???
_________________
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort icon_cool.gif

JCL & VSAM :: RE: Unavailable RECON datasets while executing IMS BACKUP

$
0
0
Author: vaibhav gs
Posted: Fri Apr 06, 2018 1:11 pm (GMT 5.5)

Recon datasets are those datasets that needs to setup in any region by IMS DBA. Please check with IMS DBA of your org for missing recon datasets, they might help you in restoring the missing datasets which might solve your issue.

As mentioned by enrico in previous post check the action message from the log to understand more about the error.
_________________
VaibhavGS
India

JCL & VSAM :: RE: Unavailable RECON datasets while executing IMS BACKUP

$
0
0
Author: enrico-sorichetti
Subject: Reply to: Unavailable RECON datasets while executing IMS BACKUP
Posted: Fri Apr 06, 2018 2:34 pm (GMT 5.5)

Quote:
As mentioned by enrico in previous post check the action message from the log to understand more about the error.


nope icon_wink.gif

look at the manuals

the log will be the source for the facts ( what happened )
the manual will be the source for the findings ( why it happened )
_________________
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort icon_cool.gif

JCL & VSAM :: RE: Unavailable RECON datasets while executing IMS BACKUP

$
0
0
Author: abdulrafi
Subject: Reply to: Unavailable RECON datasets while executing IMS BACKUP
Posted: Fri Apr 06, 2018 2:44 pm (GMT 5.5)

Hi,

As mentioned by enrico, I have already researched on that abend and here are my findings,

Code:
DSP0245I                                               
                                                       
 JOB TERMINATED DUE TO UNAVAILABLE RECON DATA SETS     
                                                       
 Explanation                                           
 ~~~~~~~~~~~                                           
 DBRC was unable to locate any RECON data set.         
                                                       
 System action                                         
 ~~~~~~~~~~~~~                                         
 The job is terminated.                                 
                                                       
 User response                                         
 ~~~~~~~~~~~~~                                         
 Define RECON data sets, and rerun the job.             
                                                       
 Problem determination                                 
 ~~~~~~~~~~~~~~~~~~~~~                                 
 None.                                                 
                                                       
 Last updated: October, 2009                           



I am aware that RECON datasets will hold the log information in IMS and DBRC is an utility that runs in IMS environment used to take backup of IMS database, but I thought the log datasets mentioned in the jcl will take care of.

So is there a way I could resolve it by giving any missing datasets/parameters along with "PARM='ULU,DFSUDMP0'" OR should I only contact DBA.

Please help.
_________________
Thanks,
Abdul Rafi

JCL & VSAM :: RE: Unavailable RECON datasets while executing IMS BACKUP

$
0
0
Author: Nic Clouston
Posted: Fri Apr 06, 2018 2:53 pm (GMT 5.5)

Why not just contact the DBA. This is the sort of thing that he is paid for.
_________________
Regards
Nic

JCL & VSAM :: RE: Unavailable RECON datasets while executing IMS BACKUP

$
0
0
Author: daveporcelan
Posted: Fri Apr 06, 2018 4:51 pm (GMT 5.5)

My bet is that the Job submitter does not have proper security (racf , acf2) access to create the backup tapes.

Check the JESMSGLG out from your job.


JCL & VSAM :: RE: Unavailable RECON datasets while executing IMS BACKUP

$
0
0
Author: Rohit Umarjikar
Posted: Fri Apr 06, 2018 5:58 pm (GMT 5.5)

What you shown is informational message , you needed to check JESMSGLG as suggested above to know the exact reason.
_________________
Regards,
Rohit Umarjikar
A leader is one who knows the way, goes the way, and shows the way.

JCL & VSAM :: RE: Unavailable RECON datasets while executing IMS BACKUP

$
0
0
Author: enrico-sorichetti
Subject: Reply to: Unavailable RECON datasets while executing IMS BACKUP
Posted: Fri Apr 06, 2018 6:31 pm (GMT 5.5)

did anybody care to look at the initial post and meditate on the message sequence before answering

Code:
+DFS671I A04124TA.JS010. - FOR THIS EXECUTION, DBRC IS SET TO YES    STG1     
+DSP0245I  JOB TERMINATED DUE TO UNAVAILABLE RECON DATA SETS                   
+DFS0048I DBRC INITIALIZATION FAILED -  RC=16 STG1       


looks like not, by looking at the advices given ...

the first message DFS671I
tells that the user has chosen to run with the recovery control feature activated
the second message DSP0245I
tells that because of the above the RECON related ( REcovery CONtrol ) ddname(s) is/are REQUIRED

since the user written jcl DOES not contain the RECON related dd statements
the job fails

the only way to solve the problem is to talk to the DB support group to ...
1) find out if the organization practices allow to take a backup/image copy outside of the recovery control environment
and disable the same in the parms
2) if 1 is not true ask the DB support group to amend the jcl with the proper ddnames

the messages are not informational ... THE JOB FAILS
no racf concerns... the job would have abended with different symptoms

AMEN
_________________
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort icon_cool.gif

COBOL Programming :: RE: COBOL MVS options

$
0
0
Author: BiswajitDG
Posted: Fri Apr 06, 2018 7:07 pm (GMT 5.5)

Understood. Thank you Steve and Bob. Will follow up with our site people.

DFSORT/ICETOOL :: How to include a particular field value while counting recs

$
0
0
Author: sakrat
Subject: How to include a particular field value while counting recs
Posted: Fri Apr 06, 2018 8:27 pm (GMT 5.5)

Hi,

Lets take like below is my VB input file:

Code:

111109A0000A1234
222208C000005678
333307M000019012
444406M000009013
555505M000029014
666604M000029015
777703A000019016
888802C000019017
999901M000029018
121201M000019019


I need my output report in output file as below:

Code:

Total Records: 0006
CERTIFY         COUNT
0                0001
1                0002
2                0003


Basically I need to include only "M" records in the 7th column & display the count (Both total count & count of each CERTIFY)

I used below ICETOOL code:

Code:

//JOBNAM2 JOB    ('FDFS'),NOTIFY=&userid
//STEP001  EXEC  PGM=ICETOOL
//INP          DD     DSN=ABC.DEF.INP,DISP=SHR
//TOOLMSG DD    SYSOUT=*
//DFSMSG   DD    SYSOUT=*
//TOOLIN    DD    *
COUNT FROM(INP) USING(CTL1) WRITE(OUT) TEXT('TOTAL RECORDS')
OCCUR FROM(INP) LIST(OUT) -
HEADER('CERTIFY') ON (12,1,CH) -
HEADER('COUNT')  ON(VALCNT)
/*
//CTL1CNTL    DD  *
  SORT FIELDS=COPY
  INCLUDE COND=(7,1,CH,EQ,C'M')
/*


My input file is VB file....
First I tried COUNTING the total records in a separate step by creating out1 using SORT step converting VB to FB fille & in the 2nd step used icetool to display the total records for each CERTIFY.

But then I tried the above code to make everything in a single step. I am getting the count of records correctly. But I don't know how to include only "M" type records for counting each of the CERTIFY.

Can some one please give some idea about it.

Thanks

DFSORT/ICETOOL :: RE: How to include a particular field value while counting recs

$
0
0
Author: Robert Sample
Posted: Fri Apr 06, 2018 8:33 pm (GMT 5.5)

With VB you have to account for the RDW, so should you not be using
Code:
  INCLUDE COND=(11,1,CH,EQ,C'M')

_________________
TANSTAAFL

The first rule of code reuse is that the code needs to be worth re-using.

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth

DB2 :: IKJEFT01

$
0
0
Author: Pavan kumar chauhan
Subject: IKJEFT01
Posted: Fri Apr 06, 2018 8:49 pm (GMT 5.5)

Hi,
when we unload data thru IKJEFT01 by using select query in a flat file, we mention SYSPUNCH(structure) and SYSREC(actual data). And while loading it again in a table we have to mention both. But in my shop I saw the LOAD JCL where SYSPUNCH is not mentioned and it was throwing error-'ERROR CODE '14 - INPUT IS INVALID FOR DATE/TIME', I don't know it is because of SYSPUNCH or something else . But in production the same job without SYSPUNCH is running fine. can someone please help?
_________________
Pavan kumar Chauhan
DB2 for z/OS SYSPROG

DFSORT/ICETOOL :: RE: How to include a particular field value while counting recs

$
0
0
Author: sakrat
Posted: Fri Apr 06, 2018 8:57 pm (GMT 5.5)

Robert Sample wrote:
With VB you have to account for the RDW, so should you not be using
Code:
  INCLUDE COND=(11,1,CH,EQ,C'M')



Yes you are right that's my mistake...I will correct that, so that I will get total count.
Can you also give idea of how to include only "M" type records to get the count value of each CERTIFY.


DFSORT/ICETOOL :: RE: How to include a particular field value while counting recs

$
0
0
Author: Robert Sample
Posted: Fri Apr 06, 2018 9:28 pm (GMT 5.5)

If you tell SORT that you want to INCLUDE records, you are not going to get anything but those records in your output. There are other options for processing records -- you need to review the SORT user's guide manual.
_________________
TANSTAAFL

The first rule of code reuse is that the code needs to be worth re-using.

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth

DB2 :: RE: IKJEFT01

$
0
0
Author: prino
Posted: Fri Apr 06, 2018 9:39 pm (GMT 5.5)

Quote:
Pavan kumar Chauhan
DB2 for z/OS SYSPROG

Don't you think a DB2 sysprog on a forum for experts should be able to open a manual and read it?

And no JCL on z/OS ever "throws" anything!
_________________
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... icon_smile.gif

DB2 :: RE: IKJEFT01

$
0
0
Author: enrico-sorichetti
Subject: Reply to: IKJEFT01
Posted: Fri Apr 06, 2018 11:57 pm (GMT 5.5)

Quote:
when we unload data thru IKJEFT01

bullshit icon_evil.gif
_________________
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort icon_cool.gif

DB2 :: RE: IKJEFT01

$
0
0
Author: Rohit Umarjikar
Posted: Sat Apr 07, 2018 12:47 am (GMT 5.5)

Unloading and loading tables
Quote:
'ERROR CODE '14 - INPUT IS INVALID FOR DATE/TIME',
are you using the same load file ? check the other working load jobs in non prod regions and mimic the same instead of writing it from the scratch.
_________________
Regards,
Rohit Umarjikar
A leader is one who knows the way, goes the way, and shows the way.

DFSORT/ICETOOL :: RE: How to include a particular field value while counting recs

$
0
0
Author: Rohit Umarjikar
Posted: Sat Apr 07, 2018 12:51 am (GMT 5.5)

Quote:
Can you also give idea of how to include only "M" type records to get the
Ain't you already doing that?
_________________
Regards,
Rohit Umarjikar
A leader is one who knows the way, goes the way, and shows the way.

Viewing all 8500 articles
Browse latest View live