Search found 8 matches

by pra_passion
Tue Dec 03, 2024 8:50 pm
Forum: Interview Questions.
Topic: Identify the field size in COBOL
Replies: 1
Views: 10139

Identify the field size in COBOL

Have a name field of 100 characters that name field contains ‘(any name’). You need identify the field size of the till end

Can We use character handling for this?

Inspect ws-a tallying ws-cnt for all characters
 
by pra_passion
Tue Feb 06, 2024 10:21 pm
Forum: Interview Questions.
Topic: How to rollback the updates in COBOL program?
Replies: 1
Views: 2847

How to rollback the updates in COBOL program?

Can anyone help me with the exact answer for below question.

Q). I have a COBOL DB2 program which is having a logic of updating the policy details in the table, unfortunately the program got abended due to other some other issues.. now I need to rollback the updates to the original status as it was ...
by pra_passion
Tue Feb 06, 2024 10:14 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: Connect Direct to SFTP transfer in mainframes.
Replies: 1
Views: 3304

Connect Direct to SFTP transfer in mainframes.

Hi All,

Previously we are transferring the file to vendor using connect direct job.

Now, As per requirement we need to transfer the same file using SFTP.

Does anyone have, any website link or some info related to SFTP file transfer coding.

Please share.
by pra_passion
Tue Feb 06, 2024 9:57 am
Forum: IBM DB2 and IMS DB/DC
Topic: How to solve null indicator sqlcode - 305?
Replies: 1
Views: 12595

How to solve null indicator sqlcode - 305?

Hi,

Can any one tell me how to solve null indicator sqlcode - 305?

Thanks.
by pra_passion
Wed Dec 27, 2023 7:02 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: how to convert Gregorian date to julian date in cobol?
Replies: 1
Views: 2921

how to convert Gregorian date to julian date in cobol?

Hi,

Need help :: "how to convert Gregorian date to julian date in cobol"?

Code: Select all

COMPUTE WS-INT-DATE  = FUNCTION INTEGER-OF-DATE(WS-GREG-DATE)
     COMPUTE WS-JULN-DATE = FUNCTION DAY-OF-INTEGER(WS-INT-DATE)
by pra_passion
Wed Dec 27, 2023 6:40 pm
Forum: JCL - Job Control Language.
Topic: Control Card not found.
Replies: 0
Views: 11401

Control Card not found.

If I am passing control card in SYSin as a PDS member then sort card is getting processed
E.g. SYSin dd dsn=tuz.pds(ctlcard)
But if I am passing it as PS file then it is giving me error as 'no ctl card found '
What can be the issue ?
E.g. SYSin dd dsn=tuz.ps.t1

Go to advanced search