View previous topic :: View next topic |
Author |
Message |
gogula Beginner
Joined: 15 Nov 2005 Posts: 2 Topics: 1
|
Posted: Tue Nov 15, 2005 1:27 am Post subject: about variable length record |
|
|
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 |
|
|
vkphani Intermediate
Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
|
Back to top |
|
|
Phantom Data Mgmt Moderator
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Tue Nov 15, 2005 3:36 am Post subject: |
|
|
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 |
|
|
gogula Beginner
Joined: 15 Nov 2005 Posts: 2 Topics: 1
|
Posted: Tue Nov 15, 2005 3:42 am Post subject: |
|
|
thanks a lot for ur reply |
|
Back to top |
|
|
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Tue Nov 22, 2005 10:29 am Post subject: |
|
|
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 |
|
|
Phantom Data Mgmt Moderator
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Tue Nov 22, 2005 11:14 am Post subject: |
|
|
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 |
|
|
|
|