MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

about variable length record

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Interview Q & A
View previous topic :: View next topic  
Author Message
gogula
Beginner


Joined: 15 Nov 2005
Posts: 2
Topics: 1

PostPosted: Tue Nov 15, 2005 1:27 am    Post subject: about variable length record Reply with quote

hi everyone here r some questions
1) I am defining variable length records and fixed length records how to do in cobol.Please tell me the decleration syntax with an example.
2)what is difference in JCL's while ur coding cobol program , cobol+db2 and cobol+cics+db2 program.

waiting 4 reply
Back to top
View user's profile Send private message
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Tue Nov 15, 2005 1:51 am    Post subject: Reply with quote

Gogula,

Please search before posting. You will get lots of answers.Anyway here are the few.

http://www.mvsforums.com/helpboards/viewtopic.php?t=3742&highlight=variable+length+records
http://www.mvsforums.com/helpboards/viewtopic.php?t=4577&highlight=variable+length+records
http://www.mvsforums.com/helpboards/viewtopic.php?t=4150&highlight=variable+length+records
http://www.mvsforums.com/helpboards/viewtopic.php?t=980&highlight=variable+length+records

http://www.mvsforums.com/helpboards/viewtopic.php?t=1165&highlight=jcl+cobol+db2+program+programme
http://www.mvsforums.com/helpboards/viewtopic.php?t=793&highlight=jcl+cobol+db2+program+programme
Back to top
View user's profile Send private message Send e-mail
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Nov 15, 2005 3:36 am    Post subject: Reply with quote

Gogula,

Quote:

1) I am defining variable length records and fixed length records how to do in cobol.Please tell me the decleration syntax with an example.


Keep this link Handy!. Better to download the PDF version of the COBOL manual for future reference.
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG30/CCONTENTS?DT=20050628164603
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3LR30/CCONTENTS?DT=20050714120224

Quote:

2)what is difference in JCL's while ur coding cobol program , cobol+db2 and cobol+cics+db2 program.


1. COBOL Program.
Code:

//STEPxx    EXEC  PGM=program


2. COBOL DB2 Program
Code:

//STEPxx    EXEC  PGM=IKJEFT01
....
....
//SYSTSIN  DD *                         
  DSN SYSTEM(db2-system)                       
  RUN PROGRAM(program) PLAN(plan-name)   
  END                                   
/*


3. COBOL + CICS + DB2 Program
Code:

Forget JCL !.  There is no relation b/w JCL & CICS.  You need to logon to the CICS region where your code is available and invoke the transaction corresponding to your program.


Thanks,
Phantom
Back to top
View user's profile Send private message
gogula
Beginner


Joined: 15 Nov 2005
Posts: 2
Topics: 1

PostPosted: Tue Nov 15, 2005 3:42 am    Post subject: Reply with quote

thanks a lot for ur reply
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Tue Nov 22, 2005 10:29 am    Post subject: Reply with quote

Quote:
There is no relation b/w JCL & CICS


Not really, Phantom. Read about EXCI stub that interacts with CICS transactions from JCL. Also, you can trigger jobs from CICS using extra-partition TDQs. Both are well-documented.
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Nov 22, 2005 11:14 am    Post subject: Reply with quote

Cogito,

I agree with you. I have no idea about the EXCI Stub, but I have seen CICS invoking jcls. My reply is concentrated only on the question that gogula asked. In this context, JCL has no reference to CICS. I should have given that in a more clear sense. Thanks for pointing that out.

Regards,
Phantom
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Interview Q & A 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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group