IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Where shall i find the this Xref listing


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
girivarma77

New User


Joined: 22 Dec 2003
Posts: 4

PostPosted: Tue Dec 23, 2003 11:53 am
Reply with quote

Hi, i want to know the line number and the cobol verb at which abend occured, the DUMP only provides the offset of the last instruction. My question here is that in order to know the line number and the verb i need to go to Xref listing, so Where shall i find the this Xref listing ?

please reply
bye
Giridhar
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Fri Jan 02, 2004 8:07 pm
Reply with quote

Hello girivarma77,

//FLGFGR1S JOB (ACCOUNT),'NAME',CLASS=A,MSGCLASS=X,NOTIFY=FLGFGR1
//*
//COMPILE EXEC PGM=IKFCBLOO,REGION=4M,COND=(8,LT),
// PARM=('APOST,MAP,XREF,LIST')
//STEPLIB DD DSN=SYS4.VS.COBOL.COBLIB,DISP=SHR
//SYSTERM DD SYSOUT=(*)
//SYSPRINT DD SYSOUT=(*)
//SYSPUNCH DD DUMMY
//SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,(2,2))
//SYSUT2 DD UNIT=SYSDA,SPACE=(CYL,(2,2))
//SYSUT3 DD UNIT=SYSDA,SPACE=(CYL,(2,2))
//SYSUT4 DD UNIT=SYSDA,SPACE=(CYL,(2,2))
//SYSUT5 DD UNIT=SYSDA,SPACE=(CYL,(2,2))
//SYSUT6 DD UNIT=SYSDA,SPACE=(CYL,(2,2))
//SYSLIN DD UNIT=SYSDA,DISP=(NEW,PASS),
// SPACE=(CYL,(1,1)),DCB=(,BLKSIZE=400)
//SYSIN DD DSN=FLGFGR1.COBOL.SOURCE(TRIRPT),DISP=(SHR,PASS)
//*
//*
//LINK EXEC PGM=IEWL,REGION=1M,COND=(8,LE),
// PARM=('LIST,LET')
//SYSPRINT DD SYSOUT=(X)
//SYSLIN DD DSN=*.COMPILE.SYSLIN,DISP=(SHR,PASS)
//SYSLIB DD DSN=FLGFGR1.COBOL.LOADLIB,DISP=SHR,
// DCB=BLKSIZE=32760
// DD DSN=SYS4.VS.COBOL.LINKLIB,DISP=SHR
//SYSLMOD DD DSN=FLGFGR1.COBOL.LOADLIB(TRIRPT),DISP=SHR
//SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,(2,2))
//*
//*

See the compiler listing, this will give you idea for getting XREF listing.

Hope this helps...

Regards

Mayuresh Tendulkar
Back to top
View user's profile Send private message
som_infotech

New User


Joined: 25 Feb 2006
Posts: 38
Location: chennai-india

PostPosted: Sun Jun 24, 2007 4:54 pm
Reply with quote

Hi
You have given a JCL for getting the line number..
But you didnt specify the fields that needs to be changed can you please tell me what are the fileds that needs to be changed...
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Jun 24, 2007 5:44 pm
Reply with quote

Hello,

Please clarify this
Quote:
But you didnt specify the fields that needs to be changed can you please tell me what are the fileds that needs to be changed...


I do not understand what is meant by "fields that needs to be changed". To cause an xref listing to be created, please refer to the bolded entry for XREF in the posted jcl.

You should need no changes to fields inside your program to create an XREF.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
No new posts Find a record count/numeric is multip... COBOL Programming 1
No new posts Need to find a specific STRING COBOL Programming 11
Search our Forums:

Back to Top