Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : When you specified V for RECFM parameter, LRECL value is largest record in the file plus 4 bytes. These four bytes contain the actual length of each variable length record in the file

Google
 
Web mainframegurukul.com

Problem with syslst in MTPBATCH

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL
  View previous topic :: View next topic  
Author Message
ramya_MF
Member


Joined: 22 Jul 2012
Posts: 12
Location: chennai

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Sun Jul 22, 2012 10:11 am    Post subject: Problem with syslst in MTPBATCH Reply with quote

I used MTPBATCH to issue CEMT I FIL command from batch. The SYSLST DD of MTPBATCH writes only 81 bytes of information in sysout.The dataset name is missing in the sysout. How to get the complete information in SYSLST?
Thanks in Advance!!!!!
_________________
ramya
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.

NicC
Active Member


Joined: 24 Jul 2011
Posts: 650
Location: Down on the pig farm

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Sun Jul 22, 2012 11:18 am    Post subject: Reply with quote

If syslist is defined as a dataset increase the lrecl of the dataset. If it is DD * then scroll rignt. If there is no data to the right then the data is not there to view anyway.
_________________
Regards
Nic
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
ramya_MF
Member


Joined: 22 Jul 2012
Posts: 12
Location: chennai

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Sun Jul 22, 2012 2:47 pm    Post subject: Reply with quote

Thanks for your suggestion. I was tried to increase the lrecl from 81 to 200,300....and so on. But still i am facing the same problem. I was also tried to print the data in sysout. But still i am getting the same output of truncated dataset. Please suggest me if you know any informaion regarding MTPBATCH.
_________________
ramya
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
DikDude
Moderator


Joined: 22 Jul 2011
Posts: 1001
Location: usa

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Mon Jul 23, 2012 1:16 am    Post subject: Reply with quote

It will probably help of you post the JCL for the problem step.
_________________
Have a good one
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
ramya_MF
Member


Joined: 22 Jul 2012
Posts: 12
Location: chennai

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Mon Jul 23, 2012 8:30 am    Post subject: Reply with quote

Hi Dik,

Please find the below JCL.

//F5910DET JOB ('F5910DE'),TIME=(9,59),MSGCLASS=O,NOTIFY=F5910DE
/*JOBPARM L=999999
//STEP01 EXEC PGM=MTPBATCH
//STEPLIB DD DSN=K9799T.CEMT.BATCH.LOADLIB,DISP=SHR
//BATCNTL DD DSN=K9799T.CEMT.BATCH.BATCNTL,DISP=SHR
//SYSLST DD SYSOUT=*,DCB=(RECFM=VB,LRECL=204)
//SYSUDUMP DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIPT DD *
CICS NCICSTDM
CEMT I FILE(*HS2*)
/*

and i am getting the output in SYSLST like this.

CICS/VS ENHANCED MASTER TERMINAL PROGRAM RELEASE 5.4

SENT=> NCICSTDM 7:49:07
EA BRO SHA DSN( F5750GX.UAT
ULLY COMPLETED BATCH COMMAND 7:49:20
AL PROGRAM COMPLETED - END OF PROCESSING

Here the problem is i am not getting the entire file name in DSN.
i am getting only half of the file name like F5750GX.UAT
But my original file name is F5750GX.UAT.F5750HS2

Thanks,
ramya
_________________
ramya
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
DikDude
Moderator


Joined: 22 Jul 2011
Posts: 1001
Location: usa

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Mon Jul 23, 2012 8:54 am    Post subject: Reply with quote

How was the DCB info determined for the SYSLST DD? It appears that One (and maybe more) characters are missing from the front of some of the lines of output.

Hoe many files in this CICS would match *HS2*?

Have you or anyone else successfully issued the same commands for a different file?
_________________
Have a good one
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
ramya_MF
Member


Joined: 22 Jul 2012
Posts: 12
Location: chennai

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Mon Jul 23, 2012 9:35 am    Post subject: Reply with quote

Hi,

Initially i was given //SYSLST DD SYSOUT=* only. But by giving like this i am getting the truncated DSN. So i thought that it might be problem with lrecl. Thats why i given DCB parameters there, But this is also giving the same truncated output.

Only one file will match with (*HS2*), i successfully issued this command. instead his i can use F750HS2 also. Both transaction commands will fetch only one unique file.
_________________
ramya
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
DikDude
Moderator


Joined: 22 Jul 2011
Posts: 1001
Location: usa

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Mon Jul 23, 2012 9:49 am    Post subject: Reply with quote

Is there only one character missing per line in the SYSLST output? If so, it is possibly where a "carriage-control" character was anticipated by MTPBATCH.

What happens if you use the full file name rather than the *HS2*? Why specify a trailing * if HS2 is the last of the value?
_________________
Have a good one
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
ramya_MF
Member


Joined: 22 Jul 2012
Posts: 12
Location: chennai

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Mon Jul 23, 2012 10:03 am    Post subject: Reply with quote

Hi,
Instead of *HS2* i specified full file DD name F5750HS2. But i still i am facing the same problem with my syslst output. In my syslst i am getting the DSN as F5750GX.UAT only instead of Full DSN name called F5750GX.UAT.F5750HS2.
I want to get the full file name. i dont know why i am getting only half of the file name.
_________________
ramya
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
DikDude
Moderator


Joined: 22 Jul 2011
Posts: 1001
Location: usa

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Mon Jul 23, 2012 6:42 pm    Post subject: Reply with quote

Probably time to open an issue with MTPBATCH Support.
_________________
Have a good one
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
DikDude
Moderator


Joined: 22 Jul 2011
Posts: 1001
Location: usa

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Sun Sep 16, 2012 10:00 am    Post subject: Reply with quote

Has this been resolved?

It is important to post the resolution when something like this has been resolved.

If it is still a problem and you have not asked MTPBATCH support, why not?

If you continue to leave your topics "hanging" they will locked and later deleted as they are of no value as they are Sad

d
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
academyindia4
Guest





Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Thu Jan 21, 2016 10:58 am    Post subject: Topic deleted by Admin Reply with quote

<< Content deleted By Admin >>
Back to top
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
academyindia4
Guest





Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Wed Feb 03, 2016 12:50 am    Post subject: Topic deleted by Admin Reply with quote

<< Content deleted By Admin >>
Back to top
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Cobol Tutorial
This cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3.....
DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters
CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming...
JCL Tutorial
This is most popular JCL tutorial from mainframegurukul. It does contain important jcl ....
SORT Tutorial
This Tutorial covers all important aspects of DFSORT. Has more SORT examples
INTERVIEW Questions
This page covers important interview questions
Mainframe Jobs
Mainframe Jobs posted by members of mainframegurukul forum
FaceBook Page
MainframeGurukul FaceBook Page
LinkedIn Page
MainframeGurkul Linkedin Page

This widget requires Flash Player 9 or better







Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials || Mainframe CICS tutorial|| Mainframe COBOL Tutorial

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB

mainframetopic-6693.html