[go: up one dir, main page]

0% found this document useful (0 votes)
15 views2 pages

What Is Monmsg Identifier For STRTCPFTP Command I: HCLNRS&Q 2&next N

Download as docx, pdf, or txt
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 2

http://www.globalguideline.com/interview_questions/Questions.php?

sc=IBM_AS400
http://www.proprofs.com/quiz-school/quizshow.php?title=db2400-quizhclnrs&q=2&next=n

WHAT IS MONMSG IDENTIFIER FOR STRTCPFTP command I


test(D) opcode is used to check for the validity of a date/time/timestamp.
If the date is valid then error code returned is o else error code is 1
%FOUND will give the record is found or not. Not the operation was successful. To check an opcode
is successful you have to use opcode extender (E) with opcode. and use %error BIF to check the
opcode was successful.
In RPG400 We have restication to use files. IT allows 50 files. but in RPGLE we can declare n
number of files. we can declare maximum 50 files and among that 8 for
printer files

I want my simple Green screen should refersh every 1


min ,How can I do it..? Please share the logic
To refresh your green screen you have to use INVITE (reocrd
level)keyword in your display file, and during compilation
of the file 'restore display' and 'wait record' parameters
should be informed.
RSTDSP = *YES
WAITRCD = 60 (in seconds)

Hi,
Yes. When Pf doesn't contain duplicate records based on key value then we can use UNIQUE
keyword in logical file. If pf contain Duplicate values then LF will not compile.

I want to add 10 days in current date. how it is possible in


CL program...?
PGM
DCL VAR(&DATE) TYPE(*Char) Len(6)

RTVSYSVAL SYSVAL(QDATE) RTNVAR(&DATE)


ADDDATE DAYS(10) TOVAR(&DATE) TOVARFMT(*SYSVAL) +
DATEFMT(*SYSVAL)
ENDPGM

I have a PF(ABC)with no key fields.


PF(ABC)have 2 fields (cusno and cusname).
Please let me know how can i read the cusno = 1150 directly
from PF in CL and RPG program(Without creating the LF and
without reading the complete file and then compare 1150)
CL
This can be done by two ways :- a)ovrdbf b) opnqry
RPG
This can be done by SETLL + READE or READ and the second
requirement by COMP

What is the length of Signature?


length is 16 bit
If you have defined any field as numeric and the value
being inserted into that field is character then system
will throw the message "decimal data error".

You might also like